summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-19 14:28:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-19 14:28:39 +0300
commit628219ea2bfd48ad236f9c253dc412edcc8e3004 (patch)
tree9438b109f729279454b78b753ef2f89b56496568 /src
parent5cec54e00bc05fb32bc9b08727641f9d48fefee6 (diff)
downloadplus-628219ea2bfd48ad236f9c253dc412edcc8e3004.tar.gz
plus-628219ea2bfd48ad236f9c253dc412edcc8e3004.tar.bz2
plus-628219ea2bfd48ad236f9c253dc412edcc8e3004.tar.xz
plus-628219ea2bfd48ad236f9c253dc412edcc8e3004.zip
Use textboxpopup in tooltiplistener.
Diffstat (limited to 'src')
-rw-r--r--src/listeners/tooltiplistener.cpp7
1 files changed, 3 insertions, 4 deletions
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();
}