summaryrefslogtreecommitdiffabout
path: root/korganizer/kodialogmanager.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kodialogmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kodialogmanager.cpp3
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
@@ -208,17 +208,18 @@ void KODialogManager::showSearchDialog()
}
#endif
}
// make sure the widget is on top again
#ifdef DESKTOP_VERSION
mSearchDialog->show();
-#else
+#else
+ mSearchDialog->setMaximumSize( QApplication::desktop()->size());
mSearchDialog->showMaximized();
#endif
mSearchDialog->raise();
}
SearchDialog * KODialogManager::getSearchDialog()
{
return mSearchDialog;