mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
QML: fix some Qt 5.15 warnings
This commit is contained in:
parent
c8f4355e15
commit
53066ae92b
5 changed files with 7 additions and 7 deletions
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ Item {
|
|||
|
||||
Connections {
|
||||
target: datePicker
|
||||
onCurrentDateChanged: {
|
||||
function onCurrentDateChanged() {
|
||||
dateInput.setDate(datePicker.currentDate)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue