-rw-r--r-- | korganizer/ktimeedit.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/korganizer/ktimeedit.cpp b/korganizer/ktimeedit.cpp index 5222ac9..61a0931 100644 --- a/korganizer/ktimeedit.cpp +++ b/korganizer/ktimeedit.cpp @@ -50,8 +50,10 @@ KOTimeEdit::KOTimeEdit(QWidget *parent, QTime qt, const char *name) setInsertionPolicy(NoInsertion); mFlagKeyPressed = false; - - if ( QApplication::desktop()->width() < 650 ) + if ( QApplication::desktop()->height() <= 480 ) { setSizeLimit ( 6 ); - mTime = qt; + } else { + setSizeLimit ( 12 ); + } + mTime = qt; // mNoTimeString = i18n("No Time"); |