mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Add notice that we do not support scriptcollections in the flat view
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
#include "playlist/PlaylistLargeItemDelegate.h"
|
#include "playlist/PlaylistLargeItemDelegate.h"
|
||||||
#include "playlist/RecentlyPlayedModel.h"
|
#include "playlist/RecentlyPlayedModel.h"
|
||||||
#include "playlist/dynamic/widgets/DynamicWidget.h"
|
#include "playlist/dynamic/widgets/DynamicWidget.h"
|
||||||
|
#include "resolvers/ScriptCollection.h"
|
||||||
#include "widgets/NewReleasesWidget.h"
|
#include "widgets/NewReleasesWidget.h"
|
||||||
#include "widgets/infowidgets/SourceInfoWidget.h"
|
#include "widgets/infowidgets/SourceInfoWidget.h"
|
||||||
#include "widgets/infowidgets/ArtistInfoWidget.h"
|
#include "widgets/infowidgets/ArtistInfoWidget.h"
|
||||||
@@ -317,6 +317,9 @@ ViewManager::show( const Tomahawk::collection_ptr& collection )
|
|||||||
if ( !collection.isNull() )
|
if ( !collection.isNull() )
|
||||||
view->setEmptyTip( collection->emptyText() );
|
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 );
|
m_collectionViews.insert( collection, view );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user