This commit is contained in:
Patrick von Reth 2015-06-24 12:37:26 +02:00
parent f00b7dd6e9
commit 25646a45e6
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ QVariant SnoreCore::value(const QString &key, SettingsType type) const
{
Q_D(const SnoreCore);
QString nk = d->normalizeKey(key, type);
if(key == LOCAL_SETTING && !d->m_settings->contains(nk)){
if(type == LOCAL_SETTING && !d->m_settings->contains(nk)){
nk = d->normalizeKey(QString("%1-SnoreDefault").arg(key),type);
}
return d->m_settings->value(nk);