-rw-r--r-- | noncore/multimedia/opieplayer2/playlistfileview.h | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 20 |
2 files changed, 4 insertions, 20 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistfileview.h b/noncore/multimedia/opieplayer2/playlistfileview.h index abe1bb8..6eea2fc 100644 --- a/noncore/multimedia/opieplayer2/playlistfileview.h +++ b/noncore/multimedia/opieplayer2/playlistfileview.h @@ -14,6 +14,2 @@ public: - // both temporarily accessible that way until the caller code has - // been migrated into this class - bool &scannedFiles() { return m_scannedFiles; } - public slots: diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index eb0606d..e754067 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -252,6 +252,3 @@ void PlayListWidget::addAllToList() { - if(!audioView->scannedFiles()) { - if(audioView->childCount() < 1) - audioView->populateView(); - } + audioView->populateView(); @@ -268,6 +265,3 @@ void PlayListWidget::addAllToList() { - if(!videoView->scannedFiles()) { - if(videoView->childCount() < 1) - videoView->populateView(); - } + videoView->populateView(); @@ -312,6 +306,3 @@ void PlayListWidget::addAllMusicToList() { - if(!audioView->scannedFiles()) { - if(audioView->childCount() < 1) - audioView->populateView(); - } + audioView->populateView(); @@ -345,6 +336,3 @@ void PlayListWidget::addAllVideoToList() { - if(!videoView->scannedFiles()) { - if(videoView->childCount() < 1) - videoView->populateView(); - } + videoView->populateView(); |