summaryrefslogtreecommitdiffabout
path: root/microkde/kapplication.cpp
Unidiff
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
@@ -2,4 +2,5 @@
2 2
3#include "kapplication.h" 3#include "kapplication.h"
4#include <qapplication.h>
4 5
5int KApplication::random() 6int KApplication::random()
@@ -27,5 +28,6 @@ QString KApplication::randomString(int length)
27 int KApplication::execDialog( QDialog* d ) 28 int KApplication::execDialog( QDialog* d )
28{ 29{
29 d->showMaximized(); 30 if (QApplication::desktop()->width() <= 640 )
31 d->showMaximized();
30 return d->exec(); 32 return d->exec();
31} 33}