mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 20:57:52 +02:00
* PlaylistView uses a standard PlayableProxyModel now.
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
#include <QKeyEvent>
|
#include <QKeyEvent>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
#include "playlist/PlaylistProxyModel.h"
|
|
||||||
#include "widgets/OverlayWidget.h"
|
#include "widgets/OverlayWidget.h"
|
||||||
#include "ViewManager.h"
|
#include "ViewManager.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
@@ -36,7 +35,7 @@ PlaylistView::PlaylistView( QWidget* parent )
|
|||||||
: TrackView( parent )
|
: TrackView( parent )
|
||||||
, m_model( 0 )
|
, m_model( 0 )
|
||||||
{
|
{
|
||||||
setProxyModel( new PlaylistProxyModel( this ) );
|
setProxyModel( new PlayableProxyModel( this ) );
|
||||||
|
|
||||||
connect( contextMenu(), SIGNAL( triggered( int ) ), SLOT( onMenuTriggered( int ) ) );
|
connect( contextMenu(), SIGNAL( triggered( int ) ), SLOT( onMenuTriggered( int ) ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user