[ChatTextInput] Fix isImage (no such property) and rgba (Should be Qt.rgba)
This commit is contained in:
@@ -202,7 +202,6 @@ ToolBar {
|
|||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
Button {
|
Button {
|
||||||
visible: isImage
|
|
||||||
icon.name: "document-edit"
|
icon.name: "document-edit"
|
||||||
|
|
||||||
// HACK: Use a component because an url doesn't work
|
// HACK: Use a component because an url doesn't work
|
||||||
@@ -237,7 +236,7 @@ ToolBar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: rgba(255, 255, 255, 40)
|
color: Qt.rgba(255, 255, 255, 40)
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|||||||
Reference in New Issue
Block a user