mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
Add notice that we do not support scriptcollections in the flat view
This commit is contained in:
parent
881019fe30
commit
e145c5e093
@ -45,7 +45,7 @@
|
||||
#include "playlist/PlaylistLargeItemDelegate.h"
|
||||
#include "playlist/RecentlyPlayedModel.h"
|
||||
#include "playlist/dynamic/widgets/DynamicWidget.h"
|
||||
|
||||
#include "resolvers/ScriptCollection.h"
|
||||
#include "widgets/NewReleasesWidget.h"
|
||||
#include "widgets/infowidgets/SourceInfoWidget.h"
|
||||
#include "widgets/infowidgets/ArtistInfoWidget.h"
|
||||
@ -317,6 +317,9 @@ ViewManager::show( const Tomahawk::collection_ptr& collection )
|
||||
if ( !collection.isNull() )
|
||||
view->setEmptyTip( collection->emptyText() );
|
||||
|
||||
if ( collection.objectCast<ScriptCollection>() )
|
||||
view->trackView()->setEmptyTip( tr( "Cloud collections aren't supported in the flat view yet. We will have them covered soon. Switch to another view to navigate them." ) );
|
||||
|
||||
m_collectionViews.insert( collection, view );
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user