Skip to content
Snippets Groups Projects
Commit fc89211d authored by Philipp Erhardt's avatar Philipp Erhardt
Browse files

Fix compile in debug mode

parent 84813fc3
Branches master
No related tags found
No related merge requests found
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment