summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp8
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
@@ -57,4 +57,6 @@
extern MediaPlayerState *mediaPlayerState;
+// extern AudioWidget *audioUI;
+// extern VideoWidget *videoUI;
QString audioMimes ="audio/mpeg;audio/x-wav;audio/x-ogg";
@@ -298,5 +300,5 @@ void PlayListWidget::setDocument( const QString& fileref ) {
fromSetDocument = TRUE;
if ( fileref.isNull() ) {
- QMessageBox::critical( 0, tr( "Invalid File" ),
+ QMessageBox::warning( this, tr( "Invalid File" ),
tr( "There was a problem in getting the file." ) );
return;
@@ -1064,5 +1066,7 @@ void PlayListWidget::skinsMenuActivated( int item ) {
cfg.setGroup("Options");
cfg.writeEntry("Skin", skinsMenu->text( item ) );
-}
+ QMessageBox::warning( this, tr( "OpiePlayer" ),
+ tr( "You must <b>restart</b> Opieplayer<br>to see your changes." ) );
+}
int PlayListWidget::whichList() {