fix: fix all remaining QML warnings
This commit is contained in:
parent
3b9ada93d0
commit
9654f937f2
|
@ -41,7 +41,6 @@ Popup {
|
|||
}
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
parent: popup
|
||||
anchors.fill: parent
|
||||
spacing: 0
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Item {
|
|||
id: assetInfoImage
|
||||
width: 36
|
||||
height: 36
|
||||
source: "../../img/tokens/" + symbol + ".png"
|
||||
source: symbol ? "../../img/tokens/" + symbol + ".png" : ""
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 0
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
|
|
@ -119,7 +119,7 @@ Item {
|
|||
id: assetTypeSelect
|
||||
iconHeight: 24
|
||||
iconWidth: 24
|
||||
icon: "../../../img/tokens/" + selectedAssetSymbol.toUpperCase() + ".png"
|
||||
icon: selectedAssetSymbol ? "../../../img/tokens/" + selectedAssetSymbol.toUpperCase() + ".png" : ""
|
||||
//% "Select the asset"
|
||||
label: qsTrId("select-the-asset")
|
||||
anchors.top: txtAmount.bottom
|
||||
|
|
|
@ -62,7 +62,7 @@ Item {
|
|||
}
|
||||
StyledText {
|
||||
id: assetFullTokenName
|
||||
text: name
|
||||
text: name || ""
|
||||
anchors.bottom: assetInfoImage.bottom
|
||||
anchors.bottomMargin: 0
|
||||
anchors.left: assetInfoImage.right
|
||||
|
|
|
@ -326,6 +326,7 @@ DISTFILES += \
|
|||
shared/StyledTextArea.qml \
|
||||
shared/StyledTextEdit.qml \
|
||||
shared/StyledTextField.qml \
|
||||
shared/SVGImage.qml \
|
||||
shared/TextWithLabel.qml \
|
||||
shared/img/check.svg \
|
||||
shared/img/close.svg \
|
||||
|
|
Loading…
Reference in New Issue