Explicitly import MoneroComponents; prevent namespace pollution

This commit is contained in:
Sander Ferdinand
2018-03-31 03:25:20 +02:00
parent 959c2fcc32
commit e638ed0272
28 changed files with 151 additions and 146 deletions

View File

@@ -28,8 +28,9 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
import moneroComponents.Wallet 1.0
import "." 1.0
import "../components" as MoneroComponents
Rectangle {
id: item
@@ -93,7 +94,7 @@ Rectangle {
anchors.left: parent.left
anchors.top: parent.top
anchors.topMargin: 0
font.family: Style.fontMedium.name
font.family: MoneroComponents.Style.fontMedium.name
font.bold: true
font.pixelSize: 13 * scaleRatio
color: "white"
@@ -106,7 +107,7 @@ Rectangle {
anchors.left: parent.left
anchors.top: parent.top
anchors.topMargin: 14
font.family: Style.fontMedium.name
font.family: MoneroComponents.Style.fontMedium.name
font.pixelSize: 20 * scaleRatio
color: "white"
text: getConnectionStatusString(item.connected) + translationManager.emptyString