1
0
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:
Christian Muehlhaeuser
2012-06-01 00:31:09 +02:00
parent d17783ef6e
commit 68bf96f924

View File

@@ -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 ) ) );
} }