diff options
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 638e3bd..6a99728 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -90,18 +90,6 @@ bool Settings::isEmpty() const return userValues.empty(); } -bool Settings::contains(const QString &key) -{ - const toml::Value *x = userValues.find(key.toStdString()); - const toml::Value *y = defaultValues.find(key.toStdString()); - - if(x || y) { - return true; - } else { - return false; - } -} - QVariant Settings::value(const QString &key) const { const toml::Value *cValue = userValues.find(key.toStdString()); |