From 4e4c991034593921f747825e04a30da31a13758d Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Sat, 22 Jul 2017 16:06:36 +0200 Subject: [PATCH] Refactor variable to be more usable --- retroshare-qml-app/src/components/ButtonText.qml | 2 +- retroshare-qml-app/src/components/SideBar.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-qml-app/src/components/ButtonText.qml b/retroshare-qml-app/src/components/ButtonText.qml index 923ece16d..7355a1704 100644 --- a/retroshare-qml-app/src/components/ButtonText.qml +++ b/retroshare-qml-app/src/components/ButtonText.qml @@ -4,7 +4,7 @@ import QtQuick.Controls 2.0 Item { id: button - property alias buttonText: innerText.text; + property alias text: innerText.text; property alias buttonTextPixelSize: innerText.font.pixelSize property alias innerAnchors: innerElements.anchors; property alias rectangleButton: rectangleButton; diff --git a/retroshare-qml-app/src/components/SideBar.qml b/retroshare-qml-app/src/components/SideBar.qml index d460195ad..666bdc162 100644 --- a/retroshare-qml-app/src/components/SideBar.qml +++ b/retroshare-qml-app/src/components/SideBar.qml @@ -113,7 +113,7 @@ Drawer ButtonText { - buttonText: model.title + text: model.title width: parent.width height: parent.height color: menuItem.styles.defaultColor