summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp10
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
@@ -216,6 +216,4 @@ void Today::draw() {
qDebug( plugin.name + " is ACTIVE " );
- // QHBoxLayout* plugLayout = new QHBoxLayout( this );
plugin.guiBox->show();
} else {
- // plugin.guiWidget->hide();
qDebug( plugin.name + " is INACTIVE" );
@@ -271,2 +269,3 @@ void Today::startConfig() {
TodayPlugin plugin;
+ QValueList<TodayPlugin> plugList;
for ( uint i = 0; i < pluginList.count(); i++ ) {
@@ -279,6 +278,7 @@ void Today::startConfig() {
qDebug("CONFIG " + plugin.name + " INACTIVE");
-
plugin.active = false;
}
+ plugList.append( plugin );
}
+ pluginList = plugList;
@@ -310,4 +310,4 @@ void Today::editCard() {
void Today::launchApp( QString appName ) {
- QCopEnvelope e( "QPE/System", "execute(QString)" );
- e << QString( appName );
+ QCopEnvelope e( "QPE/System", "execute(QString)" );
+ e << QString( appName );
}