diff options
author | Bramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com> | 2018-01-17 12:03:36 +0100 |
---|---|---|
committer | Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> | 2018-01-17 14:43:32 +0000 |
commit | 644c1e15abebe0e2cc71bfc2f36253c0cb0f4b61 (patch) | |
tree | abe79c7439c69b0fb679e2e5b48152ed70be866b | |
parent | a4642ad83dbefa700d0585d442d53c2f21bea5e2 (diff) |
Revert: Show cluster only if there is second screen available
Change-Id: I77cdfa6ec60d2075594390f1109a1e827668f676
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r-- | Main.qml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -35,12 +35,15 @@ 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 objectName: "MainContent" - 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 |