From de6f93b2006fd8b8be21d7c66a96ac8307ff1ae2 Mon Sep 17 00:00:00 2001 From: Wang Zichong Date: Mon, 19 Dec 2022 11:48:08 +0800 Subject: [PATCH] Remove no longer existed property --- src/qml/Component/ChatBox/ChatBar.qml | 1 - src/qml/Component/ChatBox/ChatBox.qml | 7 ------- 2 files changed, 8 deletions(-) diff --git a/src/qml/Component/ChatBox/ChatBar.qml b/src/qml/Component/ChatBox/ChatBar.qml index 1cf957c4b..328c88177 100644 --- a/src/qml/Component/ChatBox/ChatBar.qml +++ b/src/qml/Component/ChatBox/ChatBar.qml @@ -16,7 +16,6 @@ QQC2.ToolBar { property alias textField: inputField property alias cursorPosition: inputField.cursorPosition - signal closeAllTriggered() signal inputFieldForceActiveFocusTriggered() signal messageSent() diff --git a/src/qml/Component/ChatBox/ChatBox.qml b/src/qml/Component/ChatBox/ChatBox.qml index bf7d5523a..5b2a6db62 100644 --- a/src/qml/Component/ChatBox/ChatBox.qml +++ b/src/qml/Component/ChatBox/ChatBox.qml @@ -87,9 +87,7 @@ ColumnLayout { Layout.fillWidth: true - onCloseAllTriggered: closeAll() onMessageSent: { - closeAll() chatBox.messageSent(); } @@ -111,9 +109,4 @@ ColumnLayout { function focusInputField() { chatBar.inputFieldForceActiveFocusTriggered() } - - function closeAll() { - // TODO clear(); - chatBar.emojiPaneOpened = false; - } }