fix: code review

This commit is contained in:
Richard Ramos 2020-06-18 09:54:08 -04:00 committed by Iuri Matias
parent 4fef70fc4a
commit b70a29f059
3 changed files with 4 additions and 8 deletions

View File

@ -75,16 +75,13 @@ ModalPopup {
}
}
Input {
SearchBox {
id: searchBox
visible: selectChatMembers
placeholderText: qsTr("Search")
icon: "../../../img/search.svg"
iconWidth: 17
iconHeight: 17
onKeyReleased: function(){
}
customHeight: 44
fontPixelSize: 15
}
Input {

View File

@ -6,6 +6,7 @@ import "./samples/"
import "../../../../../imports"
import "../../../../../shared"
import "../../../Chat/components"
import "."
ListView {
id: contactList

View File

@ -16,7 +16,6 @@ Item {
property url icon: ""
property int iconHeight: 24
property int iconWidth: 24
property var onKeyReleased: (function(){})
readonly property bool hasIcon: icon.toString() !== ""
readonly property var forceActiveFocus: function () {
@ -71,7 +70,6 @@ Item {
background: Rectangle {
color: "#00000000"
}
Keys.onReleased: onKeyReleased()
}
Image {