Skip to content
Snippets Groups Projects
Commit 21c68c58 authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Show room tooltips when the sidebar is collapsed

parent 62d54146
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment