Verified Commit feba84c0 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Port away from defining ForceStringFilename in kcfgc file

Instead use KSharedConfig, this will avoid reparsing the config when it
is read in a different place too.

Also the ForceStringFilename option is about to be deprecated for lack of usage
and usefullness.
parent ee087363
......@@ -35,7 +35,7 @@ const Killbots::Ruleset *Killbots::Ruleset::load(const QString &fileName)
}
Killbots::Ruleset::Ruleset(const QString &filePath)
: RulesetBase(filePath)
: RulesetBase(KSharedConfig::openConfig(filePath))
{
m_filePath = filePath;
QString untranslatedName = KConfigGroup(config(), "KillbotsRuleset").readEntryUntranslated("Name");
......
......@@ -9,5 +9,4 @@ ItemAccessors=false
SetUserTexts=true
GlobalEnums=false
UseEnumTypes=true
ForceStringFilename=true
TranslationSystem=kde
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