Commit 8cf88a72 authored by Allen Winter's avatar Allen Winter
Browse files

remove the lastselectedfolder configuration

parent 03198c3b
cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.13.40")
set(PIM_VERSION "5.13.41")
project(incidenceeditor VERSION ${PIM_VERSION})
......
......@@ -746,14 +746,6 @@ void IncidenceDialog::writeConfig()
{
KConfigGroup group(KSharedConfig::openConfig(), "IncidenceDialog");
group.writeEntry("Size", size());
const Akonadi::Collection col = d_ptr->mCalSelector->currentCollection();
// col might not be valid if the collection wasn't found yet (the combo is async), skip saving in that case
if (col.isValid()
&& col.id() != IncidenceEditorNG::IncidenceEditorSettings::self()->lastSelectedFolder()) {
IncidenceEditorNG::IncidenceEditorSettings::self()->setLastSelectedFolder(col.id());
IncidenceEditorNG::IncidenceEditorSettings::self()->save();
}
}
void IncidenceDialog::readConfig()
......
......@@ -29,10 +29,4 @@
<default>Ask</default>
</entry>
</group>
<group name="Collection">
<entry name="LastSelectedFolder" type="LongLong">
<whatsthis>The last selected folder.</whatsthis>
<default>-1</default>
</entry>
</group>
</kcfg>
</kcfg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment