1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-26 10:21:05 +01:00

Merge pull request #2948

53066ae QML: fix some Qt 5.15 warnings (selsta)
This commit is contained in:
luigi1111 2020-07-08 13:35:55 -05:00
commit be5e6772a4
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
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"