Commit abe5bbdd authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Added back the message delivery status inside the icon tooltip

parent 8c752b19
......@@ -809,6 +809,21 @@ your friend&apos;s SIP address or username.</translation>
<translation>Select you active account</translation>
</message>
</context>
<context>
<name>OutgoingMessage</name>
<message>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
<source>Read</source>
<translation>Read</translation>
</message>
<message>
<source>Delivered</source>
<translation>Delivered</translation>
</message>
</context>
<context>
<name>Presence</name>
<message>
......
......@@ -808,6 +808,21 @@ un chat ou ajouter un contact.</translation>
<translation>Sélectionner votre compte principal</translation>
</message>
</context>
<context>
<name>OutgoingMessage</name>
<message>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
<source>Read</source>
<translation>Lu</translation>
</message>
<message>
<source>Delivered</source>
<translation>Délivré</translation>
</message>
</context>
<context>
<name>Presence</name>
<message>
......
......@@ -9,7 +9,7 @@ QtObject {
property color backgroundColor: Colors.g
property color color: Colors.k
property int arrowSize: 8
property int delay: 500
property int delay: 1000
property int fontSize: 9
property int margins: 8
property int padding: 4
......
......@@ -26,7 +26,6 @@ MouseArea {
parent: tooltipParent
visible: _visible || force
delay: -1
timeout: -1
// Workaround to always display tooltip.
......
......@@ -51,6 +51,12 @@ Item {
anchors.fill: parent
onClicked: isNotDelivered && proxyModel.resendMessage(index)
}
TooltipArea {
text: isNotDelivered
? qsTr("Error")
: (isRead ? qsTr("Read") : qsTr("Delivered"))
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment