diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
| commit | e638ed0272ca042f3ad77b680665a91ed8a35cce (patch) | |
| tree | 1c91223dd243221d644a0b22d2dc94563b264fdf /components/MenuButton.qml | |
| parent | 959c2fcc32d515f90cb39933689a37418197a095 (diff) | |
| download | monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip | |
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/MenuButton.qml')
| -rw-r--r-- | components/MenuButton.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/MenuButton.qml b/components/MenuButton.qml index ef6da091..02b0d6d5 100644 --- a/components/MenuButton.qml +++ b/components/MenuButton.qml @@ -27,7 +27,8 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import QtQuick 2.5 -import "." 1.0 + +import "../components" as MoneroComponents Rectangle { id: button @@ -103,7 +104,7 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter anchors.left: parent.right anchors.leftMargin: 8 * scaleRatio - font.family: Style.fontMedium.name + font.family: MoneroComponents.Style.fontMedium.name font.bold: true font.pixelSize: 16 * scaleRatio color: "#FFFFFF" |
