-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 53cd00e..593f072 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -115,5 +115,5 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) | |||
115 | (void)new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down", | 115 | (void)new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down", |
116 | d->selectedFiles, SLOT(moveSelectedDown() ) ); | 116 | d->selectedFiles, SLOT(moveSelectedDown() ) ); |
117 | QVBox *stretch2 = new QVBox( vbox1 ); | 117 | // QVBox *stretch2 = new QVBox( vbox1 ); |
118 | 118 | ||
119 | connect( tbDeletePlaylist, ( SIGNAL( released() ) ), | 119 | connect( tbDeletePlaylist, ( SIGNAL( released() ) ), |
@@ -299,19 +299,19 @@ void PlayListWidget::addAllToList() { | |||
299 | // } | 299 | // } |
300 | 300 | ||
301 | /* | 301 | |
302 | if(!audioScan) | 302 | // if(!audioScan) |
303 | scanForAudio(); | 303 | // scanForAudio(); |
304 | if(!videoScan) | 304 | // if(!videoScan) |
305 | scanForVideo(); | 305 | // scanForVideo(); |
306 | 306 | ||
307 | DocLnkSet filesAll; | 307 | // DocLnkSet filesAll; |
308 | Global::findDocuments(&filesAll, "video/*;"+audioMimes); | 308 | // Global::findDocuments(&filesAll, "video/*;"+audioMimes); |
309 | QListIterator<DocLnk> Adit( filesAll.children() ); | 309 | // QListIterator<DocLnk> Adit( filesAll.children() ); |
310 | for ( ; Adit.current(); ++Adit ) { | 310 | // for ( ; Adit.current(); ++Adit ) { |
311 | if( QFileInfo( Adit.current()->file() ).exists() ) { | 311 | // if( QFileInfo( Adit.current()->file() ).exists() ) { |
312 | d->selectedFiles->addToSelection( **Adit ); | 312 | // d->selectedFiles->addToSelection( **Adit ); |
313 | } | 313 | // } |
314 | } | 314 | // } |
315 | */ | 315 | |
316 | // qDebug("elapsed time %d", t.elapsed() ); | 316 | // qDebug("elapsed time %d", t.elapsed() ); |
317 | 317 | ||
@@ -721,5 +721,5 @@ void PlayListWidget::populateAudioView() { | |||
721 | audioView->clear(); | 721 | audioView->clear(); |
722 | StorageInfo storageInfo; | 722 | StorageInfo storageInfo; |
723 | const QList<FileSystem> &fs = storageInfo.fileSystems(); | 723 | // const QList<FileSystem> &fs = storageInfo.fileSystems(); |
724 | if(!audioScan) { | 724 | if(!audioScan) { |
725 | scanForAudio(); | 725 | scanForAudio(); |
@@ -763,5 +763,5 @@ void PlayListWidget::populateVideoView() { | |||
763 | videoView->clear(); | 763 | videoView->clear(); |
764 | StorageInfo storageInfo; | 764 | StorageInfo storageInfo; |
765 | const QList<FileSystem> &fs = storageInfo.fileSystems(); | 765 | // const QList<FileSystem> &fs = storageInfo.fileSystems(); |
766 | 766 | ||
767 | if(!videoScan ) { | 767 | if(!videoScan ) { |
@@ -805,5 +805,5 @@ void PlayListWidget::openFile() { | |||
805 | filename = fileDlg->text(); | 805 | filename = fileDlg->text(); |
806 | qDebug( "Selected filename is " + filename ); | 806 | qDebug( "Selected filename is " + filename ); |
807 | Om3u *m3uList; | 807 | // Om3u *m3uList; |
808 | DocLnk lnk; | 808 | DocLnk lnk; |
809 | Config cfg( "OpiePlayer" ); | 809 | Config cfg( "OpiePlayer" ); |
@@ -1130,5 +1130,5 @@ void PlayListWidget::populateSkinsMenu() { | |||
1130 | 1130 | ||
1131 | void PlayListWidget::skinsMenuActivated( int item ) { | 1131 | void PlayListWidget::skinsMenuActivated( int item ) { |
1132 | for( int i = defaultSkinIndex; i > defaultSkinIndex - skinsMenu->count(); i-- ) { | 1132 | for(unsigned int i = defaultSkinIndex; i > defaultSkinIndex - skinsMenu->count(); i-- ) { |
1133 | skinsMenu->setItemChecked( i, FALSE ); | 1133 | skinsMenu->setItemChecked( i, FALSE ); |
1134 | } | 1134 | } |