summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditorgeneral.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp
index e601eef..92e5a0f 100644
--- a/korganizer/koeditorgeneral.cpp
+++ b/korganizer/koeditorgeneral.cpp
@@ -128,5 +128,6 @@ void KOEditorGeneral::initHeader(QWidget *parent,QBoxLayout *topLayout)
int str = 3;
- if ( QApplication::desktop()->width() < 320 ) {
- --str;
+ if ( QApplication::desktop()->width() < 640 ) {
--str;
+ if ( QApplication::desktop()->width() < 320 )
+ --str;
}