-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 | |||
@@ -255,32 +255,31 @@ void Today::startConfig() { | |||
255 | } | 255 | } |
256 | // set the order/activate tab | 256 | // set the order/activate tab |
257 | conf.pluginManagement( plugin.name, plugin.guiPart->pluginName(), | 257 | conf.pluginManagement( plugin.name, plugin.guiPart->pluginName(), |
258 | Resource::loadPixmap( plugin.guiPart->pixmapNameWidget() ) ); | 258 | Resource::loadPixmap( plugin.guiPart->pixmapNameWidget() ) ); |
259 | } | 259 | } |
260 | 260 | ||
261 | conf.exec(); | ||
262 | if ( conf.exec() == QDialog::Accepted ) { | 261 | if ( conf.exec() == QDialog::Accepted ) { |
263 | conf.writeConfig(); | 262 | conf.writeConfig(); |
264 | ConfigWidget *confWidget; | 263 | ConfigWidget *confWidget; |
265 | for ( confWidget = configWidgetList.first(); confWidget != 0; | 264 | for ( confWidget = configWidgetList.first(); confWidget != 0; |
266 | confWidget = configWidgetList.next() ) { | 265 | confWidget = configWidgetList.next() ) { |
267 | confWidget->writeConfig(); | 266 | confWidget->writeConfig(); |
268 | } | 267 | } |
269 | init(); | ||
270 | 268 | ||
269 | init(); | ||
271 | 270 | ||
272 | TodayPlugin plugin; | 271 | TodayPlugin plugin; |
273 | for ( uint i = 0; i < pluginList.count(); i++ ) { | 272 | for ( uint i = 0; i < pluginList.count(); i++ ) { |
274 | plugin = pluginList[i]; | 273 | plugin = pluginList[i]; |
275 | 274 | ||
276 | if ( m_excludeApplets.grep( plugin.name ).isEmpty() ) { | 275 | if ( m_excludeApplets.grep( plugin.name ).isEmpty() ) { |
277 | qDebug("CONFIG" + plugin.name + "ACTIVE"); | 276 | qDebug("CONFIG " + plugin.name + " ACTIVE"); |
278 | plugin.active = true; | 277 | plugin.active = true; |
279 | } else { | 278 | } else { |
280 | qDebug("CONFIG" + plugin.name + "INACTIVE"); | 279 | qDebug("CONFIG " + plugin.name + " INACTIVE"); |
281 | 280 | ||
282 | plugin.active = false; | 281 | plugin.active = false; |
283 | } | 282 | } |
284 | } | 283 | } |
285 | 284 | ||
286 | draw(); | 285 | draw(); |