Commit 6875dc88 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Port away from deprecated KConfig API

parent d8fdb149
......@@ -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();
}
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