summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kglobal.cpp4
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
@@ -39,6 +39,8 @@ KGlobal::Size KGlobal::getDesktopSize()
39 return KGlobal::Desktop; 39 return KGlobal::Desktop;
40#else 40#else
41 if ( QApplication::desktop()->width() < 480 ) 41 if ( QApplication::desktop()->width() <= 320 )
42 return KGlobal::Small; 42 return KGlobal::Small;
43 else if ( QApplication::desktop()->width() > 480)
44 return KGlobal::Desktop;
43 else 45 else
44 return KGlobal::Medium; 46 return KGlobal::Medium;