From 628219ea2bfd48ad236f9c253dc412edcc8e3004 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Oct 2014 14:28:39 +0300 Subject: Use textboxpopup in tooltiplistener. --- src/listeners/tooltiplistener.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/listeners/tooltiplistener.cpp b/src/listeners/tooltiplistener.cpp index 139b9aa6b..511779192 100644 --- a/src/listeners/tooltiplistener.cpp +++ b/src/listeners/tooltiplistener.cpp @@ -23,7 +23,7 @@ #include "gui/gui.h" #include "gui/viewport.h" -#include "gui/popups/textpopup.h" +#include "gui/popups/textboxpopup.h" #include "debug.h" @@ -50,13 +50,12 @@ void ToolTipListener::mouseMoved(MouseEvent &event) } event.consume(); - textPopup->show(x, y, mToolTip); + textBoxPopup->show(x, y, mToolTip); } void ToolTipListener::mouseExited(MouseEvent &event A_UNUSED) { if (mToolTip.empty()) return; - - textPopup->hide(); + textBoxPopup->hide(); } -- cgit v1.2.3-60-g2f50