-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.cpp b/core/multimedia/opieplayer/playlistwidget.cpp index ae03ec8..de36551 100644 --- a/core/multimedia/opieplayer/playlistwidget.cpp +++ b/core/multimedia/opieplayer/playlistwidget.cpp @@ -720,32 +720,34 @@ void PlayListWidget::fauxPlay(QListViewItem *it) { play button is pressed*/ void PlayListWidget::btnPlay(bool b) { // this is fugly switch ( tabWidget->currentPageIndex()) { case 0: { mediaPlayerState->setPlaying(b); } break; case 1: { addToSelection( audioView->selectedItem() ); mediaPlayerState->setPlaying(b); + qApp->processEvents(); d->selectedFiles->removeSelected( ); tabWidget->setCurrentPage(1); } break; case 2: { addToSelection( videoView->selectedItem() ); mediaPlayerState->setPlaying(b); + qApp->processEvents(); d->selectedFiles->removeSelected( ); tabWidget->setCurrentPage(2); } break; }; } void PlayListWidget::deletePlaylist() { switch( QMessageBox::information( this, (tr("Remove Playlist?")), (tr("You really want to delete\nthis playlist?")), (tr("Yes")), (tr("No")), 0 )){ |