summaryrefslogtreecommitdiff
path: root/g_property.h
diff options
context:
space:
mode:
Diffstat (limited to 'g_property.h')
-rw-r--r--g_property.h5
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) \