Permalink
Browse files

QML: fix various warnings

  • Loading branch information...
xiphon committed Jan 7, 2019
1 parent 36eb1f8 commit 6b007aa22082203f72c53559ad3c2acdf65e7f03
Showing with 4 additions and 13 deletions.
  1. +0 −2 components/InputDialog.qml
  2. +0 −4 components/NewPasswordDialog.qml
  3. +1 −1 pages/Receive.qml
  4. +2 −5 pages/SharedRingDB.qml
  5. +1 −1 pages/settings/Navbar.qml
@@ -79,7 +79,6 @@ Item {

Label {
id: label
anchors.left: parent.left
Layout.fillWidth: true

font.pixelSize: 16 * scaleRatio
@@ -93,7 +92,6 @@ Item {
focus: true
Layout.topMargin: 6
Layout.fillWidth: true
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: MoneroComponents.Style.fontLight.name
@@ -96,7 +96,6 @@ Item {

Label {
text: qsTr("Please enter new password")
anchors.left: parent.left
Layout.fillWidth: true

font.pixelSize: 16 * scaleRatio
@@ -109,7 +108,6 @@ Item {
id : passwordInput1
Layout.topMargin: 6
Layout.fillWidth: true
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: MoneroComponents.Style.fontLight.name
@@ -154,7 +152,6 @@ Item {

Label {
text: qsTr("Please confirm new password")
anchors.left: parent.left
Layout.fillWidth: true

font.pixelSize: 16 * scaleRatio
@@ -167,7 +164,6 @@ Item {
id : passwordInput2
Layout.topMargin: 6
Layout.fillWidth: true
anchors.left: parent.left
horizontalAlignment: TextInput.AlignLeft
verticalAlignment: TextInput.AlignVCenter
font.family: MoneroComponents.Style.fontLight.name
@@ -97,8 +97,8 @@ Rectangle {

ListView {
id: subaddressListView
Layout.fillHeight: true
Layout.fillWidth: true
anchors.fill: parent
clip: true
boundsBehavior: ListView.StopAtBounds
delegate: Rectangle {
@@ -194,7 +194,6 @@ Rectangle {

StandardButton {
id: loadBlackballFileButton
anchors.right: parent.right
text: qsTr("Load") + translationManager.emptyString
small: true
enabled: !!appWindow.currentWallet && loadBlackballFileLine.text !== ""
@@ -243,7 +242,6 @@ Rectangle {

StandardButton {
id: unblackballButton
anchors.right: parent.right
text: qsTr("Mark as unspent") + translationManager.emptyString
small: true
enabled: !!appWindow.currentWallet && validUnsigned(blackballOutputAmountLine.text) && validUnsigned(blackballOutputOffsetLine.text)
@@ -415,9 +413,8 @@ Rectangle {

RowLayout {
id: segregationHeightRow
anchors.topMargin: 17
anchors.left: parent.left
anchors.right: parent.right
Layout.topMargin: 17 * scaleRatio
Layout.fillWidth: true

LineEdit {
id: segregationHeightLine
@@ -51,7 +51,7 @@ Rectangle {

GridLayout {
id: grid
anchors.horizontalCenter: parent.horizontalCenter
Layout.alignment: Qt.AlignHCenter
columnSpacing: 0
property string fontColor: "white"
property int fontSize: 13 * scaleRatio

0 comments on commit 6b007aa

Please sign in to comment.