summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-09-17 09:40:51 (UTC)
committer harlekin <harlekin>2002-09-17 09:40:51 (UTC)
commit92b88813ad8d6352fbf74964fc56dfc1a2aada8c (patch) (unidiff)
tree2a9681d21cc354e66d5fd823018f45d9ac9a32d9
parent03abe825f26678c34142e14f93cabd8f097d5bea (diff)
downloadopie-92b88813ad8d6352fbf74964fc56dfc1a2aada8c.zip
opie-92b88813ad8d6352fbf74964fc56dfc1a2aada8c.tar.gz
opie-92b88813ad8d6352fbf74964fc56dfc1a2aada8c.tar.bz2
only start config dialog once
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index d78b5b5..066a5a8 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -258,7 +258,6 @@ void Today::startConfig() {
258 Resource::loadPixmap( plugin.guiPart->pixmapNameWidget() ) ); 258 Resource::loadPixmap( plugin.guiPart->pixmapNameWidget() ) );
259 } 259 }
260 260
261 conf.exec();
262 if ( conf.exec() == QDialog::Accepted ) { 261 if ( conf.exec() == QDialog::Accepted ) {
263 conf.writeConfig(); 262 conf.writeConfig();
264 ConfigWidget *confWidget; 263 ConfigWidget *confWidget;
@@ -266,8 +265,8 @@ void Today::startConfig() {
266 confWidget = configWidgetList.next() ) { 265 confWidget = configWidgetList.next() ) {
267 confWidget->writeConfig(); 266 confWidget->writeConfig();
268 } 267 }
269 init();
270 268
269 init();
271 270
272 TodayPlugin plugin; 271 TodayPlugin plugin;
273 for ( uint i = 0; i < pluginList.count(); i++ ) { 272 for ( uint i = 0; i < pluginList.count(); i++ ) {