-rw-r--r-- | core/pim/today/today.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index d78b5b5..066a5a8 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -249,44 +249,43 @@ void Today::startConfig() { // load the config widgets in the tabs if ( plugin.guiPart->configWidget( this ) != 0l ) { ConfigWidget* widget = plugin.guiPart->configWidget( this ); configWidgetList.append( widget ); conf.TabWidget3->insertTab( widget, plugin.guiPart->appName() ); } // set the order/activate tab conf.pluginManagement( plugin.name, plugin.guiPart->pluginName(), Resource::loadPixmap( plugin.guiPart->pixmapNameWidget() ) ); } - conf.exec(); if ( conf.exec() == QDialog::Accepted ) { conf.writeConfig(); ConfigWidget *confWidget; for ( confWidget = configWidgetList.first(); confWidget != 0; confWidget = configWidgetList.next() ) { confWidget->writeConfig(); } - init(); + init(); TodayPlugin plugin; for ( uint i = 0; i < pluginList.count(); i++ ) { plugin = pluginList[i]; if ( m_excludeApplets.grep( plugin.name ).isEmpty() ) { - qDebug("CONFIG" + plugin.name + "ACTIVE"); + qDebug("CONFIG " + plugin.name + " ACTIVE"); plugin.active = true; } else { - qDebug("CONFIG" + plugin.name + "INACTIVE"); + qDebug("CONFIG " + plugin.name + " INACTIVE"); plugin.active = false; } } draw(); } } void Today::startAddressbook() { QCopEnvelope e( "QPE/System", "execute(QString)" ); |