From 24a00c944aace8d7627c1eb0d7cc0ebf40731c57 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 02 Dec 2002 23:22:22 +0000 Subject: - AudioWidget and VideoWidget are no more singletons via audioUI and videoUI. this allows switching skins at run-time (the appropriate connections are already made and it works quite nicely :) --- (limited to 'noncore/multimedia/opieplayer2/playlistwidget.cpp') diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 7ba342b..6bda71e 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -1095,12 +1095,14 @@ 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 restart Opieplayer
to see your changes." ) ); -} + { + Config cfg( "OpiePlayer" ); + cfg.setGroup("Options"); + cfg.writeEntry("Skin", skinsMenu->text( item ) ); + } + + emit skinSelected(); +} PlayListWidget::TabType PlayListWidget::currentTab() const { -- cgit v0.9.0.2