Run qmlformat over everything

This commit is contained in:
Tobias Fella
2024-01-31 22:45:40 +01:00
parent 6029c0d0b3
commit fe52d26f05
126 changed files with 1481 additions and 1183 deletions

View File

@@ -25,16 +25,16 @@ QQC2.Popup {
Connections {
target: RoomManager
function onCurrentRoomChanged() {
root.close()
root.close();
}
}
onVisibleChanged: {
if (!visible) {
emojiPicker.clearSearchField()
return
emojiPicker.clearSearchField();
return;
}
emojiPicker.forceActiveFocus()
emojiPicker.forceActiveFocus();
}
background: Kirigami.ShadowedRectangle {
@@ -68,8 +68,10 @@ QQC2.Popup {
includeCustom: root.includeCustom
showQuickReaction: root.showQuickReaction
onChosen: emoji => {
root.chosen(emoji)
if (root.closeOnChosen) root.close()
root.chosen(emoji);
if (root.closeOnChosen) {
root.close();
}
}
}
}