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
@@ -53,12 +53,14 @@
#include <stdlib.h>
#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
PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl )
: PlayListWidgetGui( parent, name, fl ) {
@@ -294,13 +296,13 @@ 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;
}
clearList();
if( fileref.find( "m3u", 0, TRUE) != -1 ) { //is m3u
@@ -1060,13 +1062,15 @@ void PlayListWidget::skinsMenuActivated( int item ) {
}
skinsMenu->setItemChecked( item, TRUE );
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();
}
QString PlayListWidget::currentFileListPathName() {