diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-09-20 17:33:08 +0200 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-09-20 17:33:08 +0200 |
| commit | ffac2767127fe0bdb990187bbf9ec640e06933a6 (patch) | |
| tree | 65990a5ea86d91a6ba14fcc4a2cf83458a91310f /g_property.h | |
| parent | e7019763076cbbe3d52c2a03133c3ded5558f017 (diff) | |
Diffstat (limited to 'g_property.h')
| -rw-r--r-- | g_property.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<type>( \
+ qDebug() << "read" << #name; \
+ const auto result = static_cast<type>( \
GlobalSettings::instance() \
->value( \
QString(this->staticMetaObject.className()) + "/" + #name, \
@@ -167,6 +168,8 @@ public: \ ) \
.value<type>() \
); \
+ qDebug() << #name << "result:" << result; \
+ return result; \
}
#define INI_PROPERTY_GET_CAST(type, name, defaultValue) \
|
