summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kapplication.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp
index 77ceac5..1b3e689 100644
--- a/microkde/kapplication.cpp
+++ b/microkde/kapplication.cpp
@@ -2,4 +2,5 @@
#include "kapplication.h"
+#include <qapplication.h>
int KApplication::random()
@@ -27,5 +28,6 @@ QString KApplication::randomString(int length)
int KApplication::execDialog( QDialog* d )
{
- d->showMaximized();
+ if (QApplication::desktop()->width() <= 640 )
+ d->showMaximized();
return d->exec();
}