summaryrefslogtreecommitdiffstats
path: root/homescreen/src/main.cpp
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-12-19 15:30:09 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-12-19 18:37:12 +0100
commita5663f7050c539a019e718638433ac6c2d0c9a5f (patch)
tree6b2cd77bb0973d5ac4807ff99fe6bf3ed28610df /homescreen/src/main.cpp
parentb670605c10dedb7986aeb4271f3148b8435cba68 (diff)
Bind the slider volume to the 4a active role
4a now expose an active role, which is the opened role with the higher priority. This binds the slider to the active role. Bug: 1313 Change-Id: I73766163fc0b8ef1e6b70e9c13e28d3642be858a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'homescreen/src/main.cpp')
-rw-r--r--homescreen/src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/homescreen/src/main.cpp b/homescreen/src/main.cpp
index 620c869..7d2df68 100644
--- a/homescreen/src/main.cpp
+++ b/homescreen/src/main.cpp
@@ -133,6 +133,7 @@ int main(int argc, char *argv[])
// mail.qml loading
QQmlApplicationEngine engine;
+ engine.rootContext()->setContextProperty("bindingAddress", bindingAddress);
engine.rootContext()->setContextProperty("layoutHandler", layoutHandler);
engine.rootContext()->setContextProperty("homescreenHandler", homescreenHandler);
engine.rootContext()->setContextProperty("launcher", launcher);