summaryrefslogtreecommitdiffabout
path: root/microkde/kapplication.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kapplication.cpp') (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
@@ -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 )
{
- d->showMaximized();
+ if (QApplication::desktop()->width() <= 640 )
+ d->showMaximized();
return d->exec();
}