summary refs log tree commit diff
path: root/src/RoomInfoListItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RoomInfoListItem.cpp')
-rw-r--r--src/RoomInfoListItem.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/RoomInfoListItem.cpp b/src/RoomInfoListItem.cpp

index e9cae165..fcf5bd72 100644 --- a/src/RoomInfoListItem.cpp +++ b/src/RoomInfoListItem.cpp
@@ -227,10 +227,13 @@ RoomInfoListItem::paintEvent(QPaintEvent *event) // We show the last message timestamp. p.save(); - if (isPressed_) + if (isPressed_) { p.setPen(QPen(highlightedTimestampColor_)); - else + } else if (underMouse()) { + p.setPen(QPen(hoverTimestampColor_)); + } else { p.setPen(QPen(timestampColor_)); + } p.setFont(tsFont); p.drawText(QPoint(width() - wm.padding - msgStampWidth, top_y),