Diffstat (limited to 'korganizer/filteredit_base.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/filteredit_base.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/korganizer/filteredit_base.cpp b/korganizer/filteredit_base.cpp index 15a4aaa..505edf6 100644 --- a/korganizer/filteredit_base.cpp +++ b/korganizer/filteredit_base.cpp | |||
@@ -14,4 +14,5 @@ | |||
14 | #include <qframe.h> | 14 | #include <qframe.h> |
15 | #include <qbuttongroup.h> | 15 | #include <qbuttongroup.h> |
16 | #include <qapplication.h> | ||
16 | #include <qradiobutton.h> | 17 | #include <qradiobutton.h> |
17 | #include <qlistbox.h> | 18 | #include <qlistbox.h> |
@@ -108,5 +109,5 @@ FilterEdit_base::FilterEdit_base( QWidget* parent, const char* name, WFlags fl ) | |||
108 | FilterEdit_baseLayout->addWidget( mCriteriaFrame ); | 109 | FilterEdit_baseLayout->addWidget( mCriteriaFrame ); |
109 | languageChange(); | 110 | languageChange(); |
110 | resize( QSize(324, 281).expandedTo(minimumSizeHint()) ); | 111 | resize( QSize(300, 200).expandedTo(minimumSizeHint()) ); |
111 | clearWState( WState_Polished ); | 112 | clearWState( WState_Polished ); |
112 | } | 113 | } |
@@ -132,6 +133,12 @@ void FilterEdit_base::languageChange() | |||
132 | mCatEditButton->setText( tr( "Edit Selection..." ) ); | 133 | mCatEditButton->setText( tr( "Edit Selection..." ) ); |
133 | textLabel1->setText( tr( "Exclude" ) ); | 134 | textLabel1->setText( tr( "Exclude" ) ); |
134 | mRecurringCheck->setText( tr( "recurring events" ) ); | 135 | if (QApplication::desktop()->width() > 480 ) { |
135 | mCompletedCheck->setText( tr( "completed to-dos" ) ); | 136 | mCompletedCheck->setText( tr( "completed to-dos" ) ); |
137 | mRecurringCheck->setText( tr( "recurring events" ) ); | ||
138 | } | ||
139 | else { | ||
140 | mCompletedCheck->setText( tr( "compl.todos" ) ); | ||
141 | mRecurringCheck->setText( tr( "recurr. events" ) ); | ||
142 | } | ||
136 | textLabel1_2->setText( tr( "Exclude" ) ); | 143 | textLabel1_2->setText( tr( "Exclude" ) ); |
137 | mEventCheck->setText( tr( "events" ) ); | 144 | mEventCheck->setText( tr( "events" ) ); |