summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 18:17:13 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 18:17:13 +0800
commit889ce312ff1918714f30eed0e34cc87d1fe7863f (patch)
treee4e14565b2e1f79a4eba38aa5f06b748a6a98a3d
parente301e1c801441a592373df5d4b90ee9859f66fcd (diff)
Isolate property alias one level
as long as it is visible from the caller's point of view, it seems
-rw-r--r--main.qml4
1 files changed, 2 insertions, 2 deletions
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