-rw-r--r-- | microkde/kglobal.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/microkde/kglobal.cpp b/microkde/kglobal.cpp index 2b1bd34..bf7e238 100644 --- a/microkde/kglobal.cpp +++ b/microkde/kglobal.cpp @@ -40,4 +40,6 @@ KGlobal::Size KGlobal::getDesktopSize() #else - if ( QApplication::desktop()->width() < 480 ) + if ( QApplication::desktop()->width() <= 320 ) return KGlobal::Small; + else if ( QApplication::desktop()->width() > 480) + return KGlobal::Desktop; else |