summaryrefslogtreecommitdiffabout
path: root/korganizer/kodialogmanager.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kodialogmanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kodialogmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp
index 41a4dc1..1af9dad 100644
--- a/korganizer/kodialogmanager.cpp
+++ b/korganizer/kodialogmanager.cpp
@@ -192,7 +192,6 @@ void KODialogManager::showSearchDialog()
// mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
#ifndef DESKTOP_VERSION
mSearchDialog->setMaximumSize( QApplication::desktop()->size());
- //mSearchDialog->setGeometry( 40,40, 400, 300);
mSearchDialog->showMaximized();
#else
KConfig *config = KOGlobals::config();
@@ -212,7 +211,11 @@ void KODialogManager::showSearchDialog()
#endif
}
// make sure the widget is on top again
+#ifdef DESKTOP_VERSION
mSearchDialog->show();
+#else
+ mSearchDialog->showMaximized();
+#endif
mSearchDialog->raise();
}