aboutsummaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp12
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());