From 88f59d2016445e93ac20995d12b802fc9a59da46 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 9 Feb 2019 20:23:51 -0800 Subject: [PATCH] fix spacing --- app/qml/root.qml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/qml/root.qml b/app/qml/root.qml index 56dc32f..7b5e3dc 100644 --- a/app/qml/root.qml +++ b/app/qml/root.qml @@ -21,15 +21,15 @@ import QtQuick 2.2 import QtQuick.Window 2.1 QtObject { - id: root + id: root property int terminalCount - - function newWindow() { - var component = Qt.createComponent("main.qml") - var window = component.createObject() - window.show() + + function newWindow() { + var component = Qt.createComponent("main.qml") + var window = component.createObject() + window.show() terminalCount = terminalCount + 1 - } + } function closeWindow() { terminalCount = terminalCount - 1 if (terminalCount == 0) { @@ -38,6 +38,6 @@ QtObject { } Component.onCompleted: { terminalCount = 0 - root.newWindow() - } + root.newWindow() + } }