summaryrefslogtreecommitdiffabout
path: root/korganizer/kolocationbox.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kolocationbox.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kolocationbox.cpp8
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
@@ -35,5 +35,5 @@ KOLocationBox::KOLocationBox( bool rw , QWidget *parent , int _maxItems) :
{
maxItems = _maxItems;
- maxItems = 50; // sorry - hack from me to set maxitems globally to 30
+ //maxItems = 50; // sorry - hack from me to set maxitems globally to 30
setInsertionPolicy(AtTop);
setDuplicatesEnabled( FALSE );
@@ -62,4 +62,7 @@ void KOLocationBox::load(int what)
insertStringList( KOPrefs::instance()->mTodoSummaryUser, 0 );
break; // don't disable
+ case SUMMARYJOURNAL:
+ insertStringList( KOPrefs::instance()->mJournalSummaryUser, 0 );
+ break; // don't disable
}
}
@@ -87,4 +90,7 @@ void KOLocationBox::save(int what)
KOPrefs::instance()->mTodoSummaryUser = strlist;
break; // don't disable
+ case SUMMARYJOURNAL:
+ KOPrefs::instance()->mJournalSummaryUser = strlist;
+ break; // don't disable
}
}