From 238b1b777f508c907bcfb4b5186445a12feeffe2 Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 22 Apr 2020 23:18:08 +0200 Subject: [PATCH] pages: remove legacy code --- pages/AddressBook.qml | 14 -------------- pages/settings/SettingsNode.qml | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/pages/AddressBook.qml b/pages/AddressBook.qml index cd6fc870..315892ff 100644 --- a/pages/AddressBook.qml +++ b/pages/AddressBook.qml @@ -79,13 +79,6 @@ Rectangle { topPadding: 0 text: qsTr("Save your most used addresses here") + translationManager.emptyString width: parent.width - - // @TODO: Legacy. Remove after Qt 5.8. - // https://stackoverflow.com/questions/41990013 - MouseArea { - anchors.fill: parent - enabled: false - } } Text { @@ -99,13 +92,6 @@ Rectangle { topPadding: 0 text: qsTr("This makes it easier to send or receive Monero and reduces errors when typing in addresses manually.") + translationManager.emptyString width: parent.width - - // @TODO: Legacy. Remove after Qt 5.8. - // https://stackoverflow.com/questions/41990013 - MouseArea { - anchors.fill: parent - enabled: false - } } MoneroComponents.StandardButton { diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 9c6714f6..92ed81f8 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -130,13 +130,6 @@ Rectangle{ topPadding: 0 text: qsTr("The blockchain is downloaded to your computer. Provides higher security and requires more local storage.") + translationManager.emptyString width: parent.width - (localNodeIcon.width + localNodeIcon.anchors.leftMargin + anchors.leftMargin) - - // @TODO: Legacy. Remove after Qt 5.8. - // https://stackoverflow.com/questions/41990013 - MouseArea { - anchors.fill: parent - enabled: false - } } } @@ -229,13 +222,6 @@ Rectangle{ topPadding: 0 text: qsTr("Uses a third-party server to connect to the Monero network. Less secure, but easier on your computer.") + translationManager.emptyString width: parent.width - (remoteNodeIcon.width + remoteNodeIcon.anchors.leftMargin + anchors.leftMargin) - - // @TODO: Legacy. Remove after Qt 5.8. - // https://stackoverflow.com/questions/41990013 - MouseArea { - anchors.fill: parent - enabled: false - } } MouseArea {