From 25646a45e66e49acf261e5660a049d713bb58fb9 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Wed, 24 Jun 2015 12:37:26 +0200 Subject: [PATCH] fix --- src/libsnore/snore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsnore/snore.cpp b/src/libsnore/snore.cpp index 5fe4d60..3a0cae0 100644 --- a/src/libsnore/snore.cpp +++ b/src/libsnore/snore.cpp @@ -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);