-rw-r--r-- | core/pim/today/today.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index d0cdd18..4ec690c 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -275,49 +275,49 @@ void Today::loadPlugins() { | |||
275 | } | 275 | } |
276 | } | 276 | } |
277 | } | 277 | } |
278 | draw(); | 278 | draw(); |
279 | } | 279 | } |
280 | 280 | ||
281 | 281 | ||
282 | /** | 282 | /** |
283 | * Repaint method. Reread all fields. | 283 | * Repaint method. Reread all fields. |
284 | */ | 284 | */ |
285 | void Today::draw() { | 285 | void Today::draw() { |
286 | 286 | ||
287 | if ( pluginList.count() == 0 ) { | 287 | if ( pluginList.count() == 0 ) { |
288 | QLabel *noPlugins = new QLabel( this ); | 288 | QLabel *noPlugins = new QLabel( this ); |
289 | noPlugins->setText( tr( "No plugins found" ) ); | 289 | noPlugins->setText( tr( "No plugins found" ) ); |
290 | layout->addWidget( noPlugins ); | 290 | layout->addWidget( noPlugins ); |
291 | return; | 291 | return; |
292 | } | 292 | } |
293 | 293 | ||
294 | uint count = 0; | 294 | uint count = 0; |
295 | TodayPlugin plugin; | 295 | TodayPlugin plugin; |
296 | for ( uint i = 0; i < pluginList.count(); i++ ) { | 296 | for ( uint i = 0; i < pluginList.count(); i++ ) { |
297 | plugin = pluginList[i]; | 297 | plugin = pluginList[i]; |
298 | 298 | ||
299 | if ( plugin.active ) { | 299 | if ( plugin.active ) { |
300 | // qDebug( plugin.name + " is ACTIVE " ); | 300 | // qDebug( plugin.name + " is ACTIVE " ); |
301 | plugin.guiBox->show(); | 301 | plugin.guiBox->show(); |
302 | } else { | 302 | } else { |
303 | // qDebug( plugin.name + " is INACTIVE" ); | 303 | // qDebug( plugin.name + " is INACTIVE" ); |
304 | plugin.guiBox->hide(); | 304 | plugin.guiBox->hide(); |
305 | } | 305 | } |
306 | count++; | 306 | count++; |
307 | } | 307 | } |
308 | 308 | ||
309 | if ( count == 0 ) { | 309 | if ( count == 0 ) { |
310 | QLabel *noPluginsActive = new QLabel( this ); | 310 | QLabel *noPluginsActive = new QLabel( this ); |
311 | noPluginsActive->setText( tr( "No plugins activated" ) ); | 311 | noPluginsActive->setText( tr( "No plugins activated" ) ); |
312 | layout->addWidget( noPluginsActive ); | 312 | layout->addWidget( noPluginsActive ); |
313 | } | 313 | } |
314 | layout->addStretch(0); | 314 | layout->addStretch(0); |
315 | } | 315 | } |
316 | 316 | ||
317 | 317 | ||
318 | /** | 318 | /** |
319 | * The method for the configuration dialog. | 319 | * The method for the configuration dialog. |
320 | */ | 320 | */ |
321 | void Today::startConfig() { | 321 | void Today::startConfig() { |
322 | 322 | ||
323 | // disconnect timer to prevent problems while being on config dialog | 323 | // disconnect timer to prevent problems while being on config dialog |