diff --git a/src/timeline/TimelineItem.cpp b/src/timeline/TimelineItem.cpp index 82d3ab92..fcbabf5a 100644 --- a/src/timeline/TimelineItem.cpp +++ b/src/timeline/TimelineItem.cpp @@ -94,6 +94,25 @@ void StatusIndicator::setState(StatusIndicatorState state) { state_ = state; + + switch (state) { + case StatusIndicatorState::Encrypted: + setToolTip(tr("Encrypted")); + break; + case StatusIndicatorState::Received: + setToolTip(tr("Delivered")); + break; + case StatusIndicatorState::Read: + setToolTip(tr("Seen")); + break; + case StatusIndicatorState::Sent: + setToolTip(tr("Sent")); + break; + case StatusIndicatorState::Empty: + setToolTip(""); + break; + } + update(); }