summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-09-17 09:40:51 (UTC)
committer harlekin <harlekin>2002-09-17 09:40:51 (UTC)
commit92b88813ad8d6352fbf74964fc56dfc1a2aada8c (patch) (side-by-side diff)
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
@@ -257,18 +257,17 @@ void Today::startConfig() {
conf.pluginManagement( plugin.name, plugin.guiPart->pluginName(),
Resource::loadPixmap( plugin.guiPart->pixmapNameWidget() ) );
}
- conf.exec();
if ( conf.exec() == QDialog::Accepted ) {
conf.writeConfig();
ConfigWidget *confWidget;
for ( confWidget = configWidgetList.first(); confWidget != 0;
confWidget = configWidgetList.next() ) {
confWidget->writeConfig();
}
- init();
+ init();
TodayPlugin plugin;
for ( uint i = 0; i < pluginList.count(); i++ ) {
plugin = pluginList[i];