From 8d01d421d49f5d05a3e113cd779d296b50271109 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 20 Oct 2018 11:53:36 -0400 Subject: QML UI: make the QML window object part of the QMLManager class This way we can access it from that code (which we'll need to invoke methods in QML code from C++). Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index bd18edefa..a8f67389c 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -136,6 +136,7 @@ public: QStringList cylinderInit() const; Q_INVOKABLE void setStatusbarColor(QColor color); void btHostModeChange(QBluetoothLocalDevice::HostMode state); + QObject *qmlWindow; #if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) void writeToAppLogFile(QString logText); -- cgit v1.2.3-70-g09d2