mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Queue's PlaylistView doesn't accept unplayable queries.
This commit is contained in:
parent
3a10c53026
commit
301b8b8850
@ -47,6 +47,7 @@ QueueView::QueueView( AnimatedSplitter* parent )
|
||||
ui->queue->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Ignored );
|
||||
|
||||
PlaylistModel* queueModel = new PlaylistModel( this );
|
||||
queueModel->setAcceptPlayableQueriesOnly( true );
|
||||
ui->queue->proxyModel()->setStyle( PlayableProxyModel::Short );
|
||||
queueModel->finishLoading();
|
||||
ui->queue->setPlaylistModel( queueModel );
|
||||
|
@ -56,7 +56,7 @@ public slots:
|
||||
|
||||
protected:
|
||||
void changeEvent( QEvent* e );
|
||||
|
||||
|
||||
private slots:
|
||||
void updateLabel();
|
||||
void onAnimationFinished();
|
||||
|
Loading…
x
Reference in New Issue
Block a user