QML: fix some Qt 5.15 warnings

This commit is contained in:
selsta 2020-06-12 03:09:18 +02:00
parent c8f4355e15
commit 53066ae92b
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
5 changed files with 7 additions and 7 deletions

View file

@ -265,11 +265,11 @@ Rectangle {
Connections {
ignoreUnknownSignals: false
target: transferView
onPaymentClicked : {
function paymentClicked(address, paymentId, amount, mixinCount, priority, description) {
console.log("MiddlePanel: paymentClicked")
paymentClicked(address, paymentId, amount, mixinCount, priority, description)
}
onSweepUnmixableClicked : {
function onSweepUnmixableClicked() {
console.log("MiddlePanel: sweepUnmixableClicked")
sweepUnmixableClicked()
}

View file

@ -117,7 +117,7 @@ Item {
Connections {
target: datePicker
onCurrentDateChanged: {
function onCurrentDateChanged() {
dateInput.setDate(datePicker.currentDate)
}
}

View file

@ -186,7 +186,7 @@ Rectangle {
delegate: Rectangle {
id: tableItem2
height: subaddressAccountListRow.subaddressAccountListItemHeight
width: parent.width
width: parent ? parent.width : undefined
Layout.fillWidth: true
color: "transparent"

View file

@ -569,8 +569,8 @@ Rectangle {
delegate: Rectangle {
id: delegate
property bool collapsed: root.txDataCollapsed.indexOf(hash) >= 0 ? true : false
anchors.left: parent.left
anchors.right: parent.right
anchors.left: parent ? parent.left : undefined
anchors.right: parent ? parent.right : undefined
height: {
if(!collapsed) return 60;
if(isout && delegate.address !== "") return 320;

View file

@ -105,7 +105,7 @@ Rectangle {
delegate: Rectangle {
id: tableItem2
height: subaddressListRow.subaddressListItemHeight
width: parent.width
width: parent ? parent.width : undefined
Layout.fillWidth: true
color: "transparent"