From 196365e533c6fd1a8f47aa9579763ef5afcebcda Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 05 Dec 2004 11:14:32 +0000 Subject: layout bugfixes --- (limited to 'korganizer/mainwindow.cpp') diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 65566b5..46ae6a0 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -113,7 +113,10 @@ class KOex2phonePrefs : public QDialog connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) ); connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) ); resize( 220, 240 ); - + qApp->processEvents(); + int dw = QApplication::desktop()->width(); + int dh = QApplication::desktop()->height(); + move( (dw-width())/2, (dh - height() )/2 ); } public: -- cgit v0.9.0.2