fixed #250 tooltips don't stay in window geometry

This commit is contained in:
fourtf
2018-01-22 15:06:36 +01:00
parent dc8086f8b6
commit d966c24bc3
4 changed files with 47 additions and 13 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ void SplitHeader::mouseMoveEvent(QMouseEvent *event)
{
if (!this->dragging && this->isLive) {
auto tooltipWidget = TooltipWidget::getInstance();
tooltipWidget->moveTo(event->globalPos());
tooltipWidget->moveTo(this, event->globalPos());
tooltipWidget->setText(tooltip);
tooltipWidget->show();
}