summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-10 18:46:52 (UTC)
committer llornkcor <llornkcor>2002-11-10 18:46:52 (UTC)
commit6078687cb1e389751503ae171ed1bea72846a4de (patch) (unidiff)
tree5d725ae35ece948a9184f89c6aa7fb3a89a5c469
parent49e5bbbd35bef879faca0d680f1c4d64a61b7b32 (diff)
downloadopie-6078687cb1e389751503ae171ed1bea72846a4de.zip
opie-6078687cb1e389751503ae171ed1bea72846a4de.tar.gz
opie-6078687cb1e389751503ae171ed1bea72846a4de.tar.bz2
added must restart messagebox when changing skins
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.cpp6
1 files changed, 5 insertions, 1 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
58extern MediaPlayerState *mediaPlayerState; 58extern MediaPlayerState *mediaPlayerState;
59// extern AudioWidget *audioUI;
60// extern VideoWidget *videoUI;
59 61
60QString audioMimes ="audio/mpeg;audio/x-wav;audio/x-ogg"; 62QString 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,6 +1065,8 @@ 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 ) );
1068 QMessageBox::warning( this, tr( "OpiePlayer" ),
1069 tr( "You must <b>restart</b> Opieplayer<br>to see your changes." ) );
1066} 1070}
1067 1071
1068int PlayListWidget::whichList() { 1072int PlayListWidget::whichList() {