summaryrefslogtreecommitdiffabout
path: root/korganizer/kodialogmanager.cpp
authorzautrix <zautrix>2005-03-10 14:45:20 (UTC)
committer zautrix <zautrix>2005-03-10 14:45:20 (UTC)
commit3a1891136e7b1290a6b3ddd573a863e51bd3047b (patch) (side-by-side diff)
tree1de78034c5b222e57ef05b7e735f979fe2944966 /korganizer/kodialogmanager.cpp
parent34f5a1b758adb98c466ae8e45c9d980d62dfc544 (diff)
downloadkdepimpi-3a1891136e7b1290a6b3ddd573a863e51bd3047b.zip
kdepimpi-3a1891136e7b1290a6b3ddd573a863e51bd3047b.tar.gz
kdepimpi-3a1891136e7b1290a6b3ddd573a863e51bd3047b.tar.bz2
fixes
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;