Fix warning about missing argument qml signal
This commit is contained in:
committed by
Tobias Fella
parent
e09f31f891
commit
a3423e5724
@@ -411,7 +411,7 @@ QQC2.Control {
|
|||||||
|
|
||||||
currentRoom: root.currentRoom
|
currentRoom: root.currentRoom
|
||||||
|
|
||||||
onChosen: insertText(emoji)
|
onChosen: emoji => insertText(emoji)
|
||||||
onClosed: if (emojiAction.checked) emojiAction.checked = false
|
onClosed: if (emojiAction.checked) emojiAction.checked = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ ColumnLayout {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
withCustom: root.includeCustom
|
withCustom: root.includeCustom
|
||||||
onChosen: root.chosen(unicode)
|
onChosen: unicode => root.chosen(unicode)
|
||||||
header: categories
|
header: categories
|
||||||
Keys.forwardTo: searchField
|
Keys.forwardTo: searchField
|
||||||
stickers: root.selectedType === 1
|
stickers: root.selectedType === 1
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ QQC2.Popup {
|
|||||||
currentRoom: root.currentRoom
|
currentRoom: root.currentRoom
|
||||||
includeCustom: emojiPopup.includeCustom
|
includeCustom: emojiPopup.includeCustom
|
||||||
showQuickReaction: emojiPopup.showQuickReaction
|
showQuickReaction: emojiPopup.showQuickReaction
|
||||||
onChosen: {
|
onChosen: emoji => {
|
||||||
emojiPopup.chosen(emoji)
|
emojiPopup.chosen(emoji)
|
||||||
if (emojiPopup.closeOnChosen) emojiPopup.close()
|
if (emojiPopup.closeOnChosen) emojiPopup.close()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ Kirigami.Page {
|
|||||||
ItemSelectionModel {
|
ItemSelectionModel {
|
||||||
id: itemSelection
|
id: itemSelection
|
||||||
model: root.roomListModel
|
model: root.roomListModel
|
||||||
onCurrentChanged: listView.currentIndex = sortFilterRoomListModel.mapFromSource(current).row
|
onCurrentChanged: (current, previous) => listView.currentIndex = sortFilterRoomListModel.mapFromSource(current).row
|
||||||
}
|
}
|
||||||
|
|
||||||
model: SortFilterRoomListModel {
|
model: SortFilterRoomListModel {
|
||||||
|
|||||||
Reference in New Issue
Block a user