diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2016-04-26 12:46:07 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2016-04-26 16:33:42 +0000 |
commit | 4dce2c9cd78fab068567cb9d0b3733c1c54d4989 (patch) | |
tree | 2957e9bafe83dd09f8ebb0d9c5e646c0c0ffa0de /MainWithCluster.qml | |
parent | c405b322d773068521855e048f215c6ec59e965f (diff) |
Updated to work with the lastest ApplicationManager
There have been a few changes in the AM due to API reviews:
1) The API naming in WindowManager singleton was made more consistent (Window
vs. View vs. Surface)
2) The import was changed from io.qt.ApplicationManager / ApplicationInstaller
to QtApplicationManager
Apart from that, we decided that having (incompatible) AM dummy-imports in
every system-ui project does not scale: the current Neptune version was merged
into the AM repo and the copy here was removed.
Change-Id: I176d66de4071deff02533a3f6fdc811bca5c2e7c
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Diffstat (limited to 'MainWithCluster.qml')
-rw-r--r-- | MainWithCluster.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MainWithCluster.qml b/MainWithCluster.qml index ba7abf8..057141d 100644 --- a/MainWithCluster.qml +++ b/MainWithCluster.qml @@ -31,7 +31,7 @@ import QtQuick 2.1 import QtQuick.Window 2.1 -import io.qt.ApplicationManager 1.0 +import QtApplicationManager 1.0 import com.pelagicore.ScreenManager 1.0 import utils 1.0 import "sysui/Cluster" @@ -51,7 +51,7 @@ Main { Cluster {} Component.onCompleted: { - WindowManager.registerOutputWindow(cluster) + WindowManager.registerCompositorView(cluster) Style.withCluster = true ScreenManager.setScreen(cluster, 1) cluster.show() |