diff options
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index f70af1c3e..29d26f495 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -925,7 +925,7 @@ void Configuration::removeOldKeys() mOptions.find(unusedKeys[2]) != mOptions.end()) { int f = 0; - while (unusedKeys[f] != "") + while (!unusedKeys[f].empty()) { deleteKey(unusedKeys[f]); logger->log("remove unused key: " + unusedKeys[f]); |