From: Flavio Tordini Date: Tue, 11 Aug 2009 08:48:13 +0000 (+0200) Subject: Removed Playlist namespace X-Git-Tag: 0.6~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=13e6b04f54bc595ee7927dc6644b6fac4dcc1447;p=minitube Removed Playlist namespace --- diff --git a/src/MediaView.cpp b/src/MediaView.cpp index bf5d53d..9825010 100644 --- a/src/MediaView.cpp +++ b/src/MediaView.cpp @@ -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();