Fixed hidden tooltips when always on top is active (#2384)

This commit is contained in:
Iulian Onofrei 2021-01-23 17:49:02 +02:00 committed by GitHub
parent d7b42716a3
commit 684dbed706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -68,6 +68,7 @@
- Bugfix: Fix a crash bug that occurred when moving splits across windows and closing the "parent tab" (#2249, #2259) - Bugfix: Fix a crash bug that occurred when moving splits across windows and closing the "parent tab" (#2249, #2259)
- Bugfix: Fix a crash bug that occurred when the "Limit message height" setting was enabled and a message was being split up into multiple lines. IRC only. (#2329) - Bugfix: Fix a crash bug that occurred when the "Limit message height" setting was enabled and a message was being split up into multiple lines. IRC only. (#2329)
- Bugfix: Fix anonymous users being pinged by "username" justinfan64537 (#2156, #2352) - Bugfix: Fix anonymous users being pinged by "username" justinfan64537 (#2156, #2352)
- Bugfix: Fixed hidden tooltips when always on top is active (#2384)
- Bugfix: Fix CLI arguments (`--help`, `--version`, `--channels`) not being respected (#2368, #2190) - Bugfix: Fix CLI arguments (`--help`, `--version`, `--channels`) not being respected (#2368, #2190)
- Dev: Updated minimum required Qt framework version to 5.12. (#2210) - Dev: Updated minimum required Qt framework version to 5.12. (#2210)
- Dev: Migrated `Kraken::getUser` to Helix (#2260) - Dev: Migrated `Kraken::getUser` to Helix (#2260)

View file

@ -1485,6 +1485,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
tooltipWidget->setWordWrap(isLinkValid); tooltipWidget->setWordWrap(isLinkValid);
tooltipWidget->setText(element->getTooltip()); tooltipWidget->setText(element->getTooltip());
tooltipWidget->adjustSize(); tooltipWidget->adjustSize();
tooltipWidget->setWindowFlag(Qt::WindowStaysOnTopHint, true);
tooltipWidget->show(); tooltipWidget->show();
tooltipWidget->raise(); tooltipWidget->raise();
} }