Skip to content
Snippets Groups Projects
Commit 4a288644 authored by tcohen's avatar tcohen
Browse files

[#2463] Change history config init on kde client

parent ca50d0a0
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ void ConfigurationSkeleton::readConfig()
////////////////////////
//Call history settings
setEnableHistory(configurationManager.getHistoryEnabled());
setEnableHistory(QVariant(configurationManager.getHistoryEnabled()).toBool());
setHistoryMax(configurationManager.getHistoryLimit());
//SIP port settings
......@@ -191,7 +191,9 @@ void ConfigurationSkeleton::writeConfig()
qDebug() << "Writing General settings";
//Call history settings
if(enableHistory() != configurationManager.getHistoryEnabled()) configurationManager.setHistoryEnabled();
if(enableHistory() != QVariant(configurationManager.getHistoryEnabled()).toBool() ) {
configurationManager.setHistoryEnabled();
}
configurationManager.setHistoryLimit(historyMax());
//SIP port settings
configurationManager.setSipPort(sIPPort());
......
......@@ -214,7 +214,7 @@
</method>
<method name="getHistoryEnabled">
<arg type="i" name="state" direction="out"/>
<arg type="s" name="state" direction="out"/>
</method>
<method name="getVolumeControls">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment