From 6d39be265729b6665bf94ce11e6f5e58ad376e9f Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 1 Mar 2017 01:00:57 +0100 Subject: [PATCH] refs #893, extra lines in variant map (for debugging) --- src/blackmisc/propertyindexvariantmap.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/blackmisc/propertyindexvariantmap.h b/src/blackmisc/propertyindexvariantmap.h index 7255a2535..fa9ca0fdc 100644 --- a/src/blackmisc/propertyindexvariantmap.h +++ b/src/blackmisc/propertyindexvariantmap.h @@ -92,9 +92,14 @@ namespace BlackMisc void baseSetPropertyByIndex(T *base, const CVariant &var, const CPropertyIndex &index) { base->setPropertyByIndex(index, var); } CVariant basePropertyByIndex(const void *, const CPropertyIndex &index) const - { qFatal("%s", qPrintable("Property by index not found, index: " + index.toQString())); return {}; } + { + qFatal("%s", qPrintable("Property by index not found, index: " + index.toQString())); return {}; + } + void baseSetPropertyByIndex(void *, const CVariant &, const CPropertyIndex &index) - { qFatal("%s", qPrintable("Property by index not found (setter), index: " + index.toQString())); } + { + qFatal("%s", qPrintable("Property by index not found (setter), index: " + index.toQString())); + } }; /*!