author | zautrix <zautrix> | 2004-07-12 14:09:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-12 14:09:56 (UTC) |
commit | dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1 (patch) (unidiff) | |
tree | ca1cff2aaa6c8e28e2d1392b73e1efbb67813fd6 /microkde/kapplication.cpp | |
parent | 915a3b162dea2755ec1c8267a9c9f65709bce602 (diff) | |
download | kdepimpi-dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1.zip kdepimpi-dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1.tar.gz kdepimpi-dbcf0077bb3d024ac3d9b0ae1cbcd668ee6db9a1.tar.bz2 |
Fix for desktop dialog size
-rw-r--r-- | microkde/kapplication.cpp | 2 |
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 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
2 | 2 | ||
3 | #include "kapplication.h" | 3 | #include "kapplication.h" |
4 | #include <qapplication.h> | ||
4 | 5 | ||
5 | int KApplication::random() | 6 | int KApplication::random() |
6 | { | 7 | { |
@@ -26,6 +27,7 @@ QString KApplication::randomString(int length) | |||
26 | } | 27 | } |
27 | int KApplication::execDialog( QDialog* d ) | 28 | int KApplication::execDialog( QDialog* d ) |
28 | { | 29 | { |
30 | if (QApplication::desktop()->width() <= 640 ) | ||
29 | d->showMaximized(); | 31 | d->showMaximized(); |
30 | return d->exec(); | 32 | return d->exec(); |
31 | } | 33 | } |