-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 5c804f5..404e1fe 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -101,5 +101,5 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) // setCaption( tr("OpiePlayer") ); - setIcon( Resource::loadPixmap( "opieplayer2/MPEGPlayer" ) ); +// setIcon( Resource::loadPixmap( "opieplayer2/MPEGPlayer" ) ); setToolBarsMovable( FALSE ); @@ -459,5 +459,5 @@ void PlayListWidget::setDocument(const QString& fileref) { void PlayListWidget::setActiveWindow() { - qDebug("SETTING active window"); +// qDebug("SETTING active window"); // When we get raised we need to ensure that it switches views char origView = mediaPlayerState->view(); @@ -477,5 +477,5 @@ const DocLnk *PlayListWidget::current() { // this is fugly case 0: //playlist { - qDebug("playlist"); +// qDebug("playlist"); if ( mediaPlayerState->playlist() ) { return d->selectedFiles->current(); @@ -489,9 +489,8 @@ const DocLnk *PlayListWidget::current() { // this is fugly case 1://audio { - qDebug("audioView"); +// qDebug("audioView"); QListIterator<DocLnk> dit( files.children() ); for ( ; dit.current(); ++dit ) { if( dit.current()->name() == audioView->currentItem()->text(0) && !insanityBool) { - qDebug("here"); insanityBool=TRUE; return dit; @@ -502,5 +501,5 @@ const DocLnk *PlayListWidget::current() { // this is fugly case 2: // video { - qDebug("videoView"); +// qDebug("videoView"); QListIterator<DocLnk> Vdit( vFiles.children() ); for ( ; Vdit.current(); ++Vdit ) { @@ -866,5 +865,5 @@ void PlayListWidget::playlistViewPressed( int mouse, QListViewItem *, const QPoi void PlayListWidget::scanForAudio() { - qDebug("scan for audio"); +// qDebug("scan for audio"); files.detachChildren(); QListIterator<DocLnk> sdit( files.children() ); @@ -877,5 +876,5 @@ void PlayListWidget::scanForAudio() { void PlayListWidget::scanForVideo() { - qDebug("scan for video"); +// qDebug("scan for video"); vFiles.detachChildren(); QListIterator<DocLnk> sdit( vFiles.children() ); @@ -997,5 +996,4 @@ void PlayListWidget::keyReleaseEvent( QKeyEvent *e) break; case Key_Q: //add to playlist - qDebug("Add"); addSelected(); break; @@ -1008,5 +1006,4 @@ void PlayListWidget::keyReleaseEvent( QKeyEvent *e) // break; case Key_Space: - qDebug("Play"); // playSelected(); puh break; @@ -1198,5 +1195,5 @@ void PlayListWidget::readPls(const QString &filename) { void PlayListWidget::pmViewActivated(int index) { - qDebug("%d", index); +// qDebug("%d", index); switch(index) { case -16: |