-rw-r--r-- | core/pim/today/today.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 066a5a8..2095174 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -214,10 +214,8 @@ void Today::draw() { | |||
214 | 214 | ||
215 | if ( plugin.active ) { | 215 | if ( plugin.active ) { |
216 | qDebug( plugin.name + " is ACTIVE " ); | 216 | qDebug( plugin.name + " is ACTIVE " ); |
217 | // QHBoxLayout* plugLayout = new QHBoxLayout( this ); | ||
218 | plugin.guiBox->show(); | 217 | plugin.guiBox->show(); |
219 | } else { | 218 | } else { |
220 | // plugin.guiWidget->hide(); | ||
221 | qDebug( plugin.name + " is INACTIVE" ); | 219 | qDebug( plugin.name + " is INACTIVE" ); |
222 | plugin.guiBox->hide(); | 220 | plugin.guiBox->hide(); |
223 | } | 221 | } |
@@ -269,6 +267,7 @@ void Today::startConfig() { | |||
269 | init(); | 267 | init(); |
270 | 268 | ||
271 | TodayPlugin plugin; | 269 | TodayPlugin plugin; |
270 | QValueList<TodayPlugin> plugList; | ||
272 | for ( uint i = 0; i < pluginList.count(); i++ ) { | 271 | for ( uint i = 0; i < pluginList.count(); i++ ) { |
273 | plugin = pluginList[i]; | 272 | plugin = pluginList[i]; |
274 | 273 | ||
@@ -277,10 +276,11 @@ void Today::startConfig() { | |||
277 | plugin.active = true; | 276 | plugin.active = true; |
278 | } else { | 277 | } else { |
279 | qDebug("CONFIG " + plugin.name + " INACTIVE"); | 278 | qDebug("CONFIG " + plugin.name + " INACTIVE"); |
280 | |||
281 | plugin.active = false; | 279 | plugin.active = false; |
282 | } | 280 | } |
281 | plugList.append( plugin ); | ||
283 | } | 282 | } |
283 | pluginList = plugList; | ||
284 | 284 | ||
285 | draw(); | 285 | draw(); |
286 | } | 286 | } |
@@ -308,8 +308,8 @@ void Today::editCard() { | |||
308 | * launches an App | 308 | * launches an App |
309 | */ | 309 | */ |
310 | void Today::launchApp( QString appName ) { | 310 | void Today::launchApp( QString appName ) { |
311 | QCopEnvelope e( "QPE/System", "execute(QString)" ); | 311 | QCopEnvelope e( "QPE/System", "execute(QString)" ); |
312 | e << QString( appName ); | 312 | e << QString( appName ); |
313 | } | 313 | } |
314 | 314 | ||
315 | Today::~Today() { | 315 | Today::~Today() { |