summaryrefslogtreecommitdiffabout
Side-by-side diff
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();
}