From 889ce312ff1918714f30eed0e34cc87d1fe7863f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 12 Sep 2019 18:17:13 +0800 Subject: Isolate property alias one level as long as it is visible from the caller's point of view, it seems --- main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.qml') diff --git a/main.qml b/main.qml index 7499b81..bb60154 100644 --- a/main.qml +++ b/main.qml @@ -3,8 +3,6 @@ import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 ApplicationWindow { - property alias login: login - id: appWindow width: 360 height: 640 @@ -18,6 +16,8 @@ ApplicationWindow { } StackView { + property alias login: login + id: stackView anchors.fill : parent -- cgit v1.2.3