summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-29 14:41:38 (UTC)
committer zautrix <zautrix>2005-07-29 14:41:38 (UTC)
commit84ddce3290c2e44cf351888ce10e1d25e2268fc0 (patch) (side-by-side diff)
tree09cb007463d7fa49b86a89d7c7710abd1176db3b
parent50b0d4463cf13ae27e45e54b48b2911a3ceb5f9f (diff)
downloadkdepimpi-84ddce3290c2e44cf351888ce10e1d25e2268fc0.zip
kdepimpi-84ddce3290c2e44cf351888ce10e1d25e2268fc0.tar.gz
kdepimpi-84ddce3290c2e44cf351888ce10e1d25e2268fc0.tar.bz2
fix
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
@@ -127,7 +127,8 @@ void KOEditorGeneral::initHeader(QWidget *parent,QBoxLayout *topLayout)
headerLayout->addWidget(mCalendarBox,1,2);
int str = 3;
- if ( QApplication::desktop()->width() < 320 ) {
- --str;
+ if ( QApplication::desktop()->width() < 640 ) {
--str;
+ if ( QApplication::desktop()->width() < 320 )
+ --str;
}
headerLayout->setColStretch( 1, str);