mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix link tooltips showing up blank instead of with text-only (#4597)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
parent
9d71f9017f
commit
f39d43faef
|
@ -5,6 +5,7 @@
|
||||||
## Slated for 2.4.3
|
## Slated for 2.4.3
|
||||||
|
|
||||||
- Bugfix: Fixed the menu warping on macOS on Qt6. (#4595)
|
- Bugfix: Fixed the menu warping on macOS on Qt6. (#4595)
|
||||||
|
- Bugfix: Fixed link tooltips not showing unless the thumbnail setting was enabled. (#4597)
|
||||||
|
|
||||||
## 2.4.3 Beta
|
## 2.4.3 Beta
|
||||||
|
|
||||||
|
|
|
@ -1774,9 +1774,10 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
auto thumbnailSize = getSettings()->thumbnailSize;
|
auto thumbnailSize = getSettings()->thumbnailSize;
|
||||||
if (!thumbnailSize)
|
if (thumbnailSize == 0)
|
||||||
{
|
{
|
||||||
tooltipWidget->clearEntries();
|
// "Show thumbnails" is set to "Off", show text only
|
||||||
|
tooltipWidget->setOne({nullptr, element->getTooltip()});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue