aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/qquickmaterialstyle_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-02-16 16:57:27 +0100
committerMitch Curtis <mitch.curtis@qt.io>2018-02-19 15:47:56 +0000
commita57754609cec57d1298bbcd1206fb0f114c7610e (patch)
tree8c8c7439310b602e9ee96449c51e26053b108bc5 /src/imports/controls/material/qquickmaterialstyle_p.h
parent41c9eb87c1e03d54cbbd9cee8f226eb3050d9fd0 (diff)
QQuickMaterialStyle: init the globals from the plugin
Change-Id: I83e754c145becb91cc0fc849434d4843ee24361f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/controls/material/qquickmaterialstyle_p.h')
-rw-r--r--src/imports/controls/material/qquickmaterialstyle_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/controls/material/qquickmaterialstyle_p.h b/src/imports/controls/material/qquickmaterialstyle_p.h
index 2374eefb..4b63747c 100644
--- a/src/imports/controls/material/qquickmaterialstyle_p.h
+++ b/src/imports/controls/material/qquickmaterialstyle_p.h
@@ -225,6 +225,8 @@ public:
Q_INVOKABLE QColor color(Color color, Shade shade = Shade500) const;
Q_INVOKABLE QColor shade(const QColor &color, Shade shade) const;
+ static void initGlobals();
+
Q_SIGNALS:
void themeChanged();
void primaryChanged();