diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-12-13 12:29:02 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-12-14 09:58:21 +0000 |
commit | 28668a9aee75110ec788406efca1caa2f25000df (patch) | |
tree | 464fe7680739b2c0dc03b63dcadd7907ed51d2eb | |
parent | e36344f70e62df8149e073e6273a774fc1936469 (diff) |
Show cluster only if there is second screen available
Change-Id: I1a9644f1ff5d0097a0f81afcf4841bb99cbb3f9e
Task-number: AUTOSUITE-163
Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
-rw-r--r-- | Main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,11 +35,12 @@ import QtQuick.Controls 2.0 import controls 1.0 import utils 1.0 import models.startup 1.0 +import com.pelagicore.ScreenManager 1.0 BackgroundPane { id: root - property bool showClusterIfPossible: ApplicationManager.systemProperties.showCluster && Style.withCluster + property bool showClusterIfPossible: ApplicationManager.systemProperties.showCluster && Style.withCluster && ScreenManager.screenCount() > 1 property var cluster width: Style.screenWidth |