-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 1af9dad..a8652ea 100644 --- a/korganizer/kodialogmanager.cpp +++ b/korganizer/kodialogmanager.cpp | |||
@@ -204,25 +204,26 @@ void KODialogManager::showSearchDialog() | |||
204 | y = list[1].toInt(); | 204 | y = list[1].toInt(); |
205 | w = list[2].toInt(); | 205 | w = list[2].toInt(); |
206 | h = list[3].toInt(); | 206 | h = list[3].toInt(); |
207 | mSearchDialog->setGeometry(x,y,w,h); | 207 | mSearchDialog->setGeometry(x,y,w,h); |
208 | 208 | ||
209 | } | 209 | } |
210 | 210 | ||
211 | #endif | 211 | #endif |
212 | } | 212 | } |
213 | // make sure the widget is on top again | 213 | // make sure the widget is on top again |
214 | #ifdef DESKTOP_VERSION | 214 | #ifdef DESKTOP_VERSION |
215 | mSearchDialog->show(); | 215 | mSearchDialog->show(); |
216 | #else | 216 | #else |
217 | mSearchDialog->setMaximumSize( QApplication::desktop()->size()); | ||
217 | mSearchDialog->showMaximized(); | 218 | mSearchDialog->showMaximized(); |
218 | #endif | 219 | #endif |
219 | mSearchDialog->raise(); | 220 | mSearchDialog->raise(); |
220 | } | 221 | } |
221 | 222 | ||
222 | SearchDialog * KODialogManager::getSearchDialog() | 223 | SearchDialog * KODialogManager::getSearchDialog() |
223 | { | 224 | { |
224 | return mSearchDialog; | 225 | return mSearchDialog; |
225 | } | 226 | } |
226 | void KODialogManager::showArchiveDialog() | 227 | void KODialogManager::showArchiveDialog() |
227 | { | 228 | { |
228 | #ifndef KORG_NOARCHIVE | 229 | #ifndef KORG_NOARCHIVE |