-rw-r--r-- | microkde/kapplication.cpp | 4 |
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 @@ -3,2 +3,3 @@ #include "kapplication.h" +#include <qapplication.h> @@ -28,3 +29,4 @@ QString KApplication::randomString(int length) { - d->showMaximized(); + if (QApplication::desktop()->width() <= 640 ) + d->showMaximized(); return d->exec(); |