summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/themeinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/themeinterface.h')
-rw-r--r--mobile-widgets/themeinterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/themeinterface.h b/mobile-widgets/themeinterface.h
index 9e135538c..cb89c40fd 100644
--- a/mobile-widgets/themeinterface.h
+++ b/mobile-widgets/themeinterface.h
@@ -4,6 +4,7 @@
#include <QObject>
#include <QColor>
#include <QSettings>
+#include <QQmlContext>
class themeInterface : public QObject {
Q_OBJECT
@@ -69,7 +70,7 @@ class themeInterface : public QObject {
public:
static themeInterface *instance();
- void setup();
+ static void setup(QQmlContext *ct);
public slots:
void set_currentTheme(const QString &theme);