Remove sender tooltip, and sender label, simplify MessageDelegate, add

an option to invoke GC, and update libqmatrixclient.
This commit is contained in:
Black Hat
2018-08-13 22:44:32 +08:00
parent c765af9bce
commit 230231a42f
12 changed files with 58 additions and 26 deletions

View File

@@ -2,6 +2,10 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
Menu {
readonly property bool isFile: eventType === "video" || eventType === "audio" || eventType === "file" || eventType === "image"
id: messageContextMenu
MenuItem {
text: "Copy"
onTriggered: matriqueController.copyToClipboard(plainText)
@@ -30,4 +34,5 @@ Menu {
}
Component.onCompleted: popup()
onClosed: messageContextMenu.destroy()
}