summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-12 14:09:56 (UTC)
committer zautrix <zautrix>2004-07-12 14:09:56 (UTC)
commitdbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1 (patch) (side-by-side diff)
treeca1cff2aaa6c8e28e2d1392b73e1efbb67813fd6
parent915a3b162dea2755ec1c8267a9c9f65709bce602 (diff)
downloadkdepimpi-dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1.zip
kdepimpi-dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1.tar.gz
kdepimpi-dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1.tar.bz2
Fix for desktop dialog size
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp
index 77ceac5..1b3e689 100644
--- a/microkde/kapplication.cpp
+++ b/microkde/kapplication.cpp
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include "kapplication.h"
+#include <qapplication.h>
int KApplication::random()
{
@@ -26,6 +27,7 @@ QString KApplication::randomString(int length)
}
int KApplication::execDialog( QDialog* d )
{
+ if (QApplication::desktop()->width() <= 640 )
d->showMaximized();
return d->exec();
}