mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-25 12:05:54 +00:00
Merge pull request #2948
53066ae
QML: fix some Qt 5.15 warnings (selsta)
This commit is contained in:
commit
be5e6772a4
5 changed files with 7 additions and 7 deletions
|
@ -265,11 +265,11 @@ Rectangle {
|
||||||
Connections {
|
Connections {
|
||||||
ignoreUnknownSignals: false
|
ignoreUnknownSignals: false
|
||||||
target: transferView
|
target: transferView
|
||||||
onPaymentClicked : {
|
function paymentClicked(address, paymentId, amount, mixinCount, priority, description) {
|
||||||
console.log("MiddlePanel: paymentClicked")
|
console.log("MiddlePanel: paymentClicked")
|
||||||
paymentClicked(address, paymentId, amount, mixinCount, priority, description)
|
paymentClicked(address, paymentId, amount, mixinCount, priority, description)
|
||||||
}
|
}
|
||||||
onSweepUnmixableClicked : {
|
function onSweepUnmixableClicked() {
|
||||||
console.log("MiddlePanel: sweepUnmixableClicked")
|
console.log("MiddlePanel: sweepUnmixableClicked")
|
||||||
sweepUnmixableClicked()
|
sweepUnmixableClicked()
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,7 +117,7 @@ Item {
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: datePicker
|
target: datePicker
|
||||||
onCurrentDateChanged: {
|
function onCurrentDateChanged() {
|
||||||
dateInput.setDate(datePicker.currentDate)
|
dateInput.setDate(datePicker.currentDate)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,7 +186,7 @@ Rectangle {
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
id: tableItem2
|
id: tableItem2
|
||||||
height: subaddressAccountListRow.subaddressAccountListItemHeight
|
height: subaddressAccountListRow.subaddressAccountListItemHeight
|
||||||
width: parent.width
|
width: parent ? parent.width : undefined
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
|
@ -569,8 +569,8 @@ Rectangle {
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
id: delegate
|
id: delegate
|
||||||
property bool collapsed: root.txDataCollapsed.indexOf(hash) >= 0 ? true : false
|
property bool collapsed: root.txDataCollapsed.indexOf(hash) >= 0 ? true : false
|
||||||
anchors.left: parent.left
|
anchors.left: parent ? parent.left : undefined
|
||||||
anchors.right: parent.right
|
anchors.right: parent ? parent.right : undefined
|
||||||
height: {
|
height: {
|
||||||
if(!collapsed) return 60;
|
if(!collapsed) return 60;
|
||||||
if(isout && delegate.address !== "") return 320;
|
if(isout && delegate.address !== "") return 320;
|
||||||
|
|
|
@ -105,7 +105,7 @@ Rectangle {
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
id: tableItem2
|
id: tableItem2
|
||||||
height: subaddressListRow.subaddressListItemHeight
|
height: subaddressListRow.subaddressListItemHeight
|
||||||
width: parent.width
|
width: parent ? parent.width : undefined
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue