diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-26 02:03:26 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-26 02:03:26 +0100 |
commit | bf6ac8f9ad7467a2c4d0e61df56027821e350c42 (patch) | |
tree | 00a0fdb039af3a9dabcae8d935f3688943b14aa3 | |
parent | UrlLineEdit rework (diff) | |
download | smolbote-bf6ac8f9ad7467a2c4d0e61df56027821e350c42.tar.xz |
Added warning when trying to get value of non-existent options
-rw-r--r-- | src/configuration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h index 8173a86..913fa65 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -35,6 +35,7 @@ public: { // if setting doesn't exist, give back a nullopt if(!m_userCfg->exists(path)) { + qWarning("Requesting non-existent option %s", path); return std::nullopt; } |