diff options
author | Philipp Erhardt <Philipp.Erhardt@informatik.stud.uni-erlangen.de> | 2016-11-22 16:36:28 +0100 |
---|---|---|
committer | Philipp Erhardt <Philipp.Erhardt@informatik.stud.uni-erlangen.de> | 2016-11-22 16:36:28 +0100 |
commit | fc89211dde7d5a57b40df9a272bd76e79f34ee31 (patch) | |
tree | 810f0a23c5ac66d57b6d00f537d430665e9adba6 | |
parent | 84813fc3d7e5e996505faaafe2ad71a4245bb50e (diff) |
Fix compile in debug mode
-rw-r--r-- | src/config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.cpp b/src/config.cpp index fb0720e..6cb8d57 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -175,7 +175,7 @@ QVariant CFG::get_value(const char *_key) const { QString key = QString::fromUtf8(_key); #ifdef DEBUG if (defaults.find(key) == defaults.end()) { - cout << "missing key " << key << endl; + cout << "missing key " << _key << endl; } #endif return settings.value(key, defaults[key]); @@ -204,7 +204,7 @@ QVariant CFG::get_most_current_value(const char *_key) const { } else { #ifdef DEBUG if (defaults.find(key) == defaults.end()) { - cout << "missing key " << key << endl; + cout << "missing key " << _key << endl; } #endif return settings.value(key, defaults[key]); |