aboutsummaryrefslogtreecommitdiff
path: root/src/kconfig_compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/kconfig_compiler')
-rw-r--r--src/kconfig_compiler/KConfigHeaderGenerator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kconfig_compiler/KConfigHeaderGenerator.cpp b/src/kconfig_compiler/KConfigHeaderGenerator.cpp
index f6c39b6a..84f89e26 100644
--- a/src/kconfig_compiler/KConfigHeaderGenerator.cpp
+++ b/src/kconfig_compiler/KConfigHeaderGenerator.cpp
@@ -424,6 +424,7 @@ void KConfigHeaderGenerator::createImmutableProperty(const CfgEntry *entry)
}
stream() << whitespace();
stream() << "Q_PROPERTY(bool " << immutableFunction(entry->name);
+ stream() << " READ " << immutableFunction(entry->name);
stream() << " CONSTANT)\n";
}