Diffstat (limited to 'korganizer/kodialogmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kodialogmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp index 3dfa344..5455098 100644 --- a/korganizer/kodialogmanager.cpp +++ b/korganizer/kodialogmanager.cpp | |||
@@ -99,17 +99,18 @@ void KODialogManager::showOptionsDialog( bool showSync ) | |||
99 | { | 99 | { |
100 | 100 | ||
101 | if (!mOptionsDialog) { | 101 | if (!mOptionsDialog) { |
102 | mOptionsDialog = new KOPrefsDialog(mMainView); | 102 | mOptionsDialog = new KOPrefsDialog(mMainView); |
103 | connect(mOptionsDialog,SIGNAL(configChanged()), | 103 | connect(mOptionsDialog,SIGNAL(configChanged()), |
104 | mMainView,SLOT(updateConfig())); | 104 | mMainView,SLOT(updateConfig())); |
105 | } | 105 | } |
106 | mOptionsDialog->readConfig(); | 106 | mOptionsDialog->readConfig(); |
107 | #ifndef DESKTOP_VERSION | 107 | #ifndef DESKTOP_VERSION |
108 | mOptionsDialog->hideButtons(); | ||
108 | mOptionsDialog->showMaximized(); | 109 | mOptionsDialog->showMaximized(); |
109 | #else | 110 | #else |
110 | mOptionsDialog->show(); | 111 | mOptionsDialog->show(); |
111 | #endif | 112 | #endif |
112 | 113 | ||
113 | mOptionsDialog->exec(); | 114 | mOptionsDialog->exec(); |
114 | delete mOptionsDialog; | 115 | delete mOptionsDialog; |
115 | mOptionsDialog = 0; | 116 | mOptionsDialog = 0; |