-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 @@ -38,8 +38,10 @@ KGlobal::Size KGlobal::getDesktopSize() #ifdef DESKTOP_VERSION return KGlobal::Desktop; #else - if ( QApplication::desktop()->width() < 480 ) + if ( QApplication::desktop()->width() <= 320 ) return KGlobal::Small; + else if ( QApplication::desktop()->width() > 480) + return KGlobal::Desktop; else return KGlobal::Medium; #endif |