From bf6ac8f9ad7467a2c4d0e61df56027821e350c42 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 26 Jan 2018 02:03:26 +0100 Subject: Added warning when trying to get value of non-existent options --- src/configuration.h | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.1