Diffstat (limited to 'korganizer/kolocationbox.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kolocationbox.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/korganizer/kolocationbox.cpp b/korganizer/kolocationbox.cpp index 35a8123..9d5aafc 100644 --- a/korganizer/kolocationbox.cpp +++ b/korganizer/kolocationbox.cpp | |||
@@ -34,7 +34,7 @@ KOLocationBox::KOLocationBox( bool rw , QWidget *parent , int _maxItems) : | |||
34 | QComboBox( rw , parent ) | 34 | QComboBox( rw , parent ) |
35 | { | 35 | { |
36 | maxItems = _maxItems; | 36 | maxItems = _maxItems; |
37 | maxItems = 50; // sorry - hack from me to set maxitems globally to 30 | 37 | //maxItems = 50; // sorry - hack from me to set maxitems globally to 30 |
38 | setInsertionPolicy(AtTop); | 38 | setInsertionPolicy(AtTop); |
39 | setDuplicatesEnabled( FALSE ); | 39 | setDuplicatesEnabled( FALSE ); |
40 | setMaxCount( maxItems ); | 40 | setMaxCount( maxItems ); |
@@ -61,6 +61,9 @@ void KOLocationBox::load(int what) | |||
61 | case SUMMARYTODO: | 61 | case SUMMARYTODO: |
62 | insertStringList( KOPrefs::instance()->mTodoSummaryUser, 0 ); | 62 | insertStringList( KOPrefs::instance()->mTodoSummaryUser, 0 ); |
63 | break; // don't disable | 63 | break; // don't disable |
64 | case SUMMARYJOURNAL: | ||
65 | insertStringList( KOPrefs::instance()->mJournalSummaryUser, 0 ); | ||
66 | break; // don't disable | ||
64 | } | 67 | } |
65 | } | 68 | } |
66 | 69 | ||
@@ -86,6 +89,9 @@ void KOLocationBox::save(int what) | |||
86 | case SUMMARYTODO: | 89 | case SUMMARYTODO: |
87 | KOPrefs::instance()->mTodoSummaryUser = strlist; | 90 | KOPrefs::instance()->mTodoSummaryUser = strlist; |
88 | break; // don't disable | 91 | break; // don't disable |
92 | case SUMMARYJOURNAL: | ||
93 | KOPrefs::instance()->mJournalSummaryUser = strlist; | ||
94 | break; // don't disable | ||
89 | } | 95 | } |
90 | } | 96 | } |
91 | 97 | ||