From 6078687cb1e389751503ae171ed1bea72846a4de Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 10 Nov 2002 18:46:52 +0000 Subject: added must restart messagebox when changing skins --- (limited to 'noncore') 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 @@ #include "videowidget.h" extern MediaPlayerState *mediaPlayerState; +// extern AudioWidget *audioUI; +// extern VideoWidget *videoUI; QString audioMimes ="audio/mpeg;audio/x-wav;audio/x-ogg"; // no m3u's here please @@ -297,7 +299,7 @@ void PlayListWidget::setDocument( const QString& fileref ) { qDebug( "<<<<<<<>>>>>>>>> "+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; } @@ -1063,7 +1065,9 @@ void PlayListWidget::skinsMenuActivated( int item ) { Config cfg( "OpiePlayer" ); cfg.setGroup("Options"); cfg.writeEntry("Skin", skinsMenu->text( item ) ); -} + QMessageBox::warning( this, tr( "OpiePlayer" ), + tr( "You must restart Opieplayer
to see your changes." ) ); +} int PlayListWidget::whichList() { return tabWidget->currentPageIndex(); -- cgit v0.9.0.2