fix showing debug window

pull/1/head
Michail Vourlakos 8 years ago
parent 3b0f46760a
commit 319f30d2cc

@ -48,6 +48,7 @@ DragDrop.DropArea {
////BEGIN properties ////BEGIN properties
property bool debugMode: Qt.application.arguments.indexOf("--graphics")>=0 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 globalDirectRender: false //it is used as a globalDirectRender for all elements in the dock
property bool directRenderTimerIsRunning: enableDirectRenderTimer.running property bool directRenderTimerIsRunning: enableDirectRenderTimer.running
property int directRenderAnimationTime: 0 property int directRenderAnimationTime: 0
@ -1150,7 +1151,7 @@ DragDrop.DropArea {
} }
Loader{ Loader{
active: root.debugMode active: root.debugModeWindow
sourceComponent: DebugWindow{} sourceComponent: DebugWindow{}
} }

Loading…
Cancel
Save