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/HistoryTableInnerColumn.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/HistoryTableInnerColumn.qml')
| -rw-r--r-- | components/HistoryTableInnerColumn.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/components/HistoryTableInnerColumn.qml b/components/HistoryTableInnerColumn.qml index 23ff766e..8a8acbe7 100644 --- a/components/HistoryTableInnerColumn.qml +++ b/components/HistoryTableInnerColumn.qml @@ -32,8 +32,8 @@ import QtQuick.Dialogs 1.2 import moneroComponents.Clipboard 1.0 import moneroComponents.PendingTransaction 1.0 import moneroComponents.Wallet 1.0 -import "../components" -import "." 1.0 + +import "../components" as MoneroComponents Rectangle{ @@ -50,20 +50,20 @@ Rectangle{ Text { id: label1 anchors.left: parent.left - font.family: Style.fontRegular.name + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 14 * scaleRatio text: labelHeader - color: Style.greyFontColor + color: MoneroComponents.Style.greyFontColor } Text { id: label2 anchors.left: parent.left anchors.top: label1.bottom - font.family: Style.fontRegular.name + font.family: MoneroComponents.Style.fontRegular.name font.pixelSize: 14 * scaleRatio text: labelValue - color: Style.dimmedFontColor + color: MoneroComponents.Style.dimmedFontColor } // hover effect / copy value @@ -73,12 +73,12 @@ Rectangle{ anchors.fill: parent cursorShape: Qt.PointingHandCursor onEntered: { - label1.color = Style.defaultFontColor; - label2.color = Style.defaultFontColor; + label1.color = MoneroComponents.Style.defaultFontColor; + label2.color = MoneroComponents.Style.defaultFontColor; } onExited: { - label1.color = Style.greyFontColor; - label2.color = Style.dimmedFontColor; + label1.color = MoneroComponents.Style.greyFontColor; + label2.color = MoneroComponents.Style.dimmedFontColor; } onClicked: { if(copyValue){ |
