summaryrefslogtreecommitdiffabout
path: root/korganizer/kodialogmanager.cpp
Unidiff
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()
192 // mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 192 // mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
193#ifndef DESKTOP_VERSION 193#ifndef DESKTOP_VERSION
194 mSearchDialog->setMaximumSize( QApplication::desktop()->size()); 194 mSearchDialog->setMaximumSize( QApplication::desktop()->size());
195 //mSearchDialog->setGeometry( 40,40, 400, 300);
196 mSearchDialog->showMaximized(); 195 mSearchDialog->showMaximized();
197#else 196#else
198 KConfig *config = KOGlobals::config(); 197 KConfig *config = KOGlobals::config();
@@ -212,7 +211,11 @@ void KODialogManager::showSearchDialog()
212#endif 211#endif
213 } 212 }
214 // make sure the widget is on top again 213 // make sure the widget is on top again
214#ifdef DESKTOP_VERSION
215 mSearchDialog->show(); 215 mSearchDialog->show();
216#else
217 mSearchDialog->showMaximized();
218#endif
216 mSearchDialog->raise(); 219 mSearchDialog->raise();
217} 220}
218 221