-rw-r--r-- | core/pim/today/today.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 4ec690c..83d8601 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -367,17 +367,19 @@ void Today::startConfig() { | |||
367 | void Today::refresh() { | 367 | void Today::refresh() { |
368 | 368 | ||
369 | init(); | 369 | init(); |
370 | 370 | ||
371 | QValueList<TodayPlugin>::Iterator it; | 371 | QValueList<TodayPlugin>::Iterator it; |
372 | for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { | 372 | for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { |
373 | if ( !(*it).excludeRefresh ) { | 373 | if ( !(*it).excludeRefresh ) { |
374 | (*it).guiPart->refresh(); | 374 | (*it).guiPart->refresh(); |
375 | qDebug( "refresh" ); | 375 | layout->addWidget( (*it).guiBox ); |
376 | } | 376 | qDebug( "refresh" ); |
377 | } | ||
377 | } | 378 | } |
379 | layout->addStretch(0); | ||
378 | } | 380 | } |
379 | 381 | ||
380 | void Today::startApplication() { | 382 | void Today::startApplication() { |
381 | QCopEnvelope e( "QPE/System", "execute(QString)" ); | 383 | QCopEnvelope e( "QPE/System", "execute(QString)" ); |
382 | e << QString( sender()->name() ); | 384 | e << QString( sender()->name() ); |
383 | } | 385 | } |