hide tooltip on split::leaveEvent

This commit is contained in:
fourtf 2019-09-16 11:48:17 +02:00
parent 40c1857c90
commit 89fd3bfce9

View file

@ -14,6 +14,7 @@
#include "util/Shortcut.hpp" #include "util/Shortcut.hpp"
#include "util/StreamLink.hpp" #include "util/StreamLink.hpp"
#include "widgets/Notebook.hpp" #include "widgets/Notebook.hpp"
#include "widgets/TooltipWidget.hpp"
#include "widgets/Window.hpp" #include "widgets/Window.hpp"
#include "widgets/dialogs/QualityPopup.hpp" #include "widgets/dialogs/QualityPopup.hpp"
#include "widgets/dialogs/SelectChannelDialog.hpp" #include "widgets/dialogs/SelectChannelDialog.hpp"
@ -411,6 +412,8 @@ void Split::leaveEvent(QEvent *event)
this->overlay_->hide(); this->overlay_->hide();
TooltipWidget::getInstance()->hide();
this->handleModifiers(QGuiApplication::queryKeyboardModifiers()); this->handleModifiers(QGuiApplication::queryKeyboardModifiers());
} }