-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 86130d5..040ef71 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -56,6 +56,8 @@ | |||
56 | #include "videowidget.h" | 56 | #include "videowidget.h" |
57 | 57 | ||
58 | extern MediaPlayerState *mediaPlayerState; | 58 | extern MediaPlayerState *mediaPlayerState; |
59 | // extern AudioWidget *audioUI; | ||
60 | // extern VideoWidget *videoUI; | ||
59 | 61 | ||
60 | QString audioMimes ="audio/mpeg;audio/x-wav;audio/x-ogg"; | 62 | QString audioMimes ="audio/mpeg;audio/x-wav;audio/x-ogg"; |
61 | // no m3u's here please | 63 | // no m3u's here please |
@@ -297,7 +299,7 @@ void PlayListWidget::setDocument( const QString& fileref ) { | |||
297 | qDebug( "<<<<<<<<set document>>>>>>>>>> "+fileref ); | 299 | qDebug( "<<<<<<<<set document>>>>>>>>>> "+fileref ); |
298 | fromSetDocument = TRUE; | 300 | fromSetDocument = TRUE; |
299 | if ( fileref.isNull() ) { | 301 | if ( fileref.isNull() ) { |
300 | QMessageBox::critical( 0, tr( "Invalid File" ), | 302 | QMessageBox::warning( this, tr( "Invalid File" ), |
301 | tr( "There was a problem in getting the file." ) ); | 303 | tr( "There was a problem in getting the file." ) ); |
302 | return; | 304 | return; |
303 | } | 305 | } |
@@ -1063,7 +1065,9 @@ void PlayListWidget::skinsMenuActivated( int item ) { | |||
1063 | Config cfg( "OpiePlayer" ); | 1065 | Config cfg( "OpiePlayer" ); |
1064 | cfg.setGroup("Options"); | 1066 | cfg.setGroup("Options"); |
1065 | cfg.writeEntry("Skin", skinsMenu->text( item ) ); | 1067 | cfg.writeEntry("Skin", skinsMenu->text( item ) ); |
1066 | } | 1068 | QMessageBox::warning( this, tr( "OpiePlayer" ), |
1069 | tr( "You must <b>restart</b> Opieplayer<br>to see your changes." ) ); | ||
1070 | } | ||
1067 | 1071 | ||
1068 | int PlayListWidget::whichList() { | 1072 | int PlayListWidget::whichList() { |
1069 | return tabWidget->currentPageIndex(); | 1073 | return tabWidget->currentPageIndex(); |