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

index 981908e2..a10ad619 100644 --- a/src/RoomInfoListItem.cc +++ b/src/RoomInfoListItem.cc
@@ -107,6 +107,11 @@ RoomInfoListItem::resizeEvent(QResizeEvent *) QPainterPath path; path.addRect(0, 0, width(), height()); + if (width() > ui::sidebar::SmallSize) + setToolTip(""); + else + setToolTip(roomName_); + ripple_overlay_->setClipPath(path); ripple_overlay_->setClipping(true); }