From ffac2767127fe0bdb990187bbf9ec640e06933a6 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sat, 20 Sep 2025 17:33:08 +0200 Subject: introduce 'goodies' namespace --- g_property.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'g_property.h') diff --git a/g_property.h b/g_property.h index fa743cd..af29c50 100644 --- a/g_property.h +++ b/g_property.h @@ -159,7 +159,8 @@ public Q_SLOTS: \ public: \ virtual type get_##name() const \ { \ - return static_cast( \ + qDebug() << "read" << #name; \ + const auto result = static_cast( \ GlobalSettings::instance() \ ->value( \ QString(this->staticMetaObject.className()) + "/" + #name, \ @@ -167,6 +168,8 @@ public: \ ) \ .value() \ ); \ + qDebug() << #name << "result:" << result; \ + return result; \ } #define INI_PROPERTY_GET_CAST(type, name, defaultValue) \ -- cgit v1.2.3-70-g09d2