summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp6
1 files changed, 3 insertions, 3 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() {
if ( plugin.active ) {
qDebug( plugin.name + " is ACTIVE " );
- // QHBoxLayout* plugLayout = new QHBoxLayout( this );
plugin.guiBox->show();
} else {
- // plugin.guiWidget->hide();
qDebug( plugin.name + " is INACTIVE" );
plugin.guiBox->hide();
}
@@ -269,6 +267,7 @@ void Today::startConfig() {
init();
TodayPlugin plugin;
+ QValueList<TodayPlugin> plugList;
for ( uint i = 0; i < pluginList.count(); i++ ) {
plugin = pluginList[i];
@@ -277,10 +276,11 @@ void Today::startConfig() {
plugin.active = true;
} else {
qDebug("CONFIG " + plugin.name + " INACTIVE");
-
plugin.active = false;
}
+ plugList.append( plugin );
}
+ pluginList = plugList;
draw();
}