-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 | |||
@@ -361,29 +361,31 @@ void Today::startConfig() { | |||
361 | 361 | ||
362 | 362 | ||
363 | /** | 363 | /** |
364 | * Refresh for the view. Reload all applets | 364 | * Refresh for the view. Reload all applets |
365 | * | 365 | * |
366 | */ | 366 | */ |
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 | } |
384 | 386 | ||
385 | /** | 387 | /** |
386 | * launch addressbook (personal card) | 388 | * launch addressbook (personal card) |
387 | */ | 389 | */ |
388 | void Today::editCard() { | 390 | void Today::editCard() { |
389 | QCopEnvelope env( "QPE/Application/addressbook", "editPersonalAndClose()" ); | 391 | QCopEnvelope env( "QPE/Application/addressbook", "editPersonalAndClose()" ); |