summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/scriptengine_p.h
diff options
context:
space:
mode:
authorChristoph VogtlÃĪnder <c.vogtlaender@sigma-surface-science.com>2015-03-11 10:10:43 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-03-13 10:16:51 +0000
commit17e29fc8d3e7d524ce6207c23ac62525811ef189 (patch)
tree7ae795b5a7673508762ab3e8d171855332e9529e /src/libs/installer/scriptengine_p.h
parent0a49b33773e6ff2ec7ec4278b0a5a380f58457b0 (diff)
fix empty installer.components array
Make sure the current list of components is used when referencing installer.components in a controller script. Change-Id: I9468110d61a958f13edba66da0059d6622aa7037 Task-number: QTIFW-601 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/scriptengine_p.h')
-rw-r--r--src/libs/installer/scriptengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/installer/scriptengine_p.h b/src/libs/installer/scriptengine_p.h
index 54b6a4fc2..1b1e408d0 100644
--- a/src/libs/installer/scriptengine_p.h
+++ b/src/libs/installer/scriptengine_p.h
@@ -68,6 +68,7 @@ public:
: m_engine(engine), m_core(core) {}
public slots:
+ QJSValue components() const;
QJSValue componentByName(const QString &componentName);
private: