summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-11-10 18:46:52 (UTC)
committer llornkcor <llornkcor>2002-11-10 18:46:52 (UTC)
commit6078687cb1e389751503ae171ed1bea72846a4de (patch) (side-by-side diff)
tree5d725ae35ece948a9184f89c6aa7fb3a89a5c469 /noncore
parent49e5bbbd35bef879faca0d680f1c4d64a61b7b32 (diff)
downloadopie-6078687cb1e389751503ae171ed1bea72846a4de.zip
opie-6078687cb1e389751503ae171ed1bea72846a4de.tar.gz
opie-6078687cb1e389751503ae171ed1bea72846a4de.tar.bz2
added must restart messagebox when changing skins
Diffstat (limited to 'noncore') (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
@@ -55,8 +55,10 @@
#include "audiowidget.h"
#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
@@ -296,9 +298,9 @@ void PlayListWidget::addAllVideoToList() {
void PlayListWidget::setDocument( const QString& fileref ) {
qDebug( "<<<<<<<<set document>>>>>>>>>> "+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;
}
@@ -1062,9 +1064,11 @@ 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 <b>restart</b> Opieplayer<br>to see your changes." ) );
+}
int PlayListWidget::whichList() {
return tabWidget->currentPageIndex();
}