aboutsummaryrefslogtreecommitdiff
path: root/components/NetworkStatusItem.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
commite638ed0272ca042f3ad77b680665a91ed8a35cce (patch)
tree1c91223dd243221d644a0b22d2dc94563b264fdf /components/NetworkStatusItem.qml
parent959c2fcc32d515f90cb39933689a37418197a095 (diff)
downloadmonzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/NetworkStatusItem.qml')
-rw-r--r--components/NetworkStatusItem.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/NetworkStatusItem.qml b/components/NetworkStatusItem.qml
index f1916457..e9b1b3ae 100644
--- a/components/NetworkStatusItem.qml
+++ b/components/NetworkStatusItem.qml
@@ -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