summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp40
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 )
(void)new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down",
d->selectedFiles, SLOT(moveSelectedDown() ) );
- QVBox *stretch2 = new QVBox( vbox1 );
+ // QVBox *stretch2 = new QVBox( vbox1 );
connect( tbDeletePlaylist, ( SIGNAL( released() ) ),
@@ -299,19 +299,19 @@ void PlayListWidget::addAllToList() {
// }
- /*
- if(!audioScan)
- scanForAudio();
- if(!videoScan)
- scanForVideo();
-
- DocLnkSet filesAll;
- Global::findDocuments(&filesAll, "video/*;"+audioMimes);
- QListIterator<DocLnk> Adit( filesAll.children() );
- for ( ; Adit.current(); ++Adit ) {
- if( QFileInfo( Adit.current()->file() ).exists() ) {
- d->selectedFiles->addToSelection( **Adit );
- }
- }
-*/
+
+// if(!audioScan)
+// scanForAudio();
+// if(!videoScan)
+// scanForVideo();
+
+// DocLnkSet filesAll;
+// Global::findDocuments(&filesAll, "video/*;"+audioMimes);
+// QListIterator<DocLnk> Adit( filesAll.children() );
+// for ( ; Adit.current(); ++Adit ) {
+// if( QFileInfo( Adit.current()->file() ).exists() ) {
+// d->selectedFiles->addToSelection( **Adit );
+// }
+// }
+
// qDebug("elapsed time %d", t.elapsed() );
@@ -721,5 +721,5 @@ void PlayListWidget::populateAudioView() {
audioView->clear();
StorageInfo storageInfo;
- const QList<FileSystem> &fs = storageInfo.fileSystems();
+ // const QList<FileSystem> &fs = storageInfo.fileSystems();
if(!audioScan) {
scanForAudio();
@@ -763,5 +763,5 @@ void PlayListWidget::populateVideoView() {
videoView->clear();
StorageInfo storageInfo;
- const QList<FileSystem> &fs = storageInfo.fileSystems();
+ // const QList<FileSystem> &fs = storageInfo.fileSystems();
if(!videoScan ) {
@@ -805,5 +805,5 @@ void PlayListWidget::openFile() {
filename = fileDlg->text();
qDebug( "Selected filename is " + filename );
- Om3u *m3uList;
+ // Om3u *m3uList;
DocLnk lnk;
Config cfg( "OpiePlayer" );
@@ -1130,5 +1130,5 @@ void PlayListWidget::populateSkinsMenu() {
void PlayListWidget::skinsMenuActivated( int item ) {
- for( int i = defaultSkinIndex; i > defaultSkinIndex - skinsMenu->count(); i-- ) {
+ for(unsigned int i = defaultSkinIndex; i > defaultSkinIndex - skinsMenu->count(); i-- ) {
skinsMenu->setItemChecked( i, FALSE );
}