From 319f30d2cc99fa338237476afd2625581dcb4ac2 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 4 Jun 2017 18:43:56 +0300 Subject: [PATCH] fix showing debug window --- containment/package/contents/ui/main.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index 5e6b9a0d5..b3f96cdf8 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -48,6 +48,7 @@ DragDrop.DropArea { ////BEGIN properties property bool debugMode: Qt.application.arguments.indexOf("--graphics")>=0 + property bool debugModeWindow: Qt.application.arguments.indexOf("--with-window")>=0 property bool globalDirectRender: false //it is used as a globalDirectRender for all elements in the dock property bool directRenderTimerIsRunning: enableDirectRenderTimer.running property int directRenderAnimationTime: 0 @@ -1150,7 +1151,7 @@ DragDrop.DropArea { } Loader{ - active: root.debugMode + active: root.debugModeWindow sourceComponent: DebugWindow{} }