mirror of
https://github.com/status-im/snorenotify.git
synced 2025-02-17 02:46:23 +00:00
fix
This commit is contained in:
parent
f00b7dd6e9
commit
25646a45e6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user