summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 20:43:41 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 20:43:41 (GMT)
commit6875dc88cfcabf1092730d46b63afd6244a04a98 (patch)
tree5b1ef2940b7109c4e4bbbc9fe6ccd969c16dad8a
parentd8fdb149417ee88c5d098dc3b006785f46fd71b6 (diff)
Port away from deprecated KConfig API
-rw-r--r--ui/layers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/layers.cpp b/ui/layers.cpp
index 704407d..4c258ab 100644
--- a/ui/layers.cpp
+++ b/ui/layers.cpp
@@ -76,5 +76,5 @@ void Layers::saveSearchOptions()
{
Okular::Settings::setLayersSearchRegularExpression( m_searchLine->regularExpression() );
Okular::Settings::setLayersSearchCaseSensitive( m_searchLine->caseSensitivity() == Qt::CaseSensitive ? true : false );
- Okular::Settings::self()->writeConfig();
+ Okular::Settings::self()->save();
}