]> git.sur5r.net Git - minitube/commitdiff
Removed Playlist namespace
authorFlavio Tordini <flavio.tordini@gmail.com>
Tue, 11 Aug 2009 08:48:13 +0000 (10:48 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Tue, 11 Aug 2009 08:48:13 +0000 (10:48 +0200)
src/MediaView.cpp

index bf5d53d3cdc26199a18d81317ee822889e434af9..9825010356c1e9813bab978b44f5b1041bfa0184 100644 (file)
@@ -30,7 +30,7 @@ MediaView::MediaView(QWidget *parent) : QWidget(parent) {
     sortBar->addAction(mostViewedAction);
 
     listView = new QListView(this);
-    listView->setItemDelegate(new Playlist::PrettyItemDelegate(this));
+    listView->setItemDelegate(new PrettyItemDelegate(this));
     listView->setSelectionMode(QAbstractItemView::ExtendedSelection);
 
     // dragndrop
@@ -169,6 +169,7 @@ void MediaView::stateChanged(Phonon::State newState, Phonon::State /*oldState*/)
 }
 
 void MediaView::pause() {
+    // qDebug() << "pause() called" << mediaObject->state();
     switch( mediaObject->state() ) {
     case Phonon::PlayingState:
         mediaObject->pause();