diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-19 14:28:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-19 14:28:39 +0300 |
commit | 628219ea2bfd48ad236f9c253dc412edcc8e3004 (patch) | |
tree | 9438b109f729279454b78b753ef2f89b56496568 | |
parent | 5cec54e00bc05fb32bc9b08727641f9d48fefee6 (diff) | |
download | manaplus-628219ea2bfd48ad236f9c253dc412edcc8e3004.tar.gz manaplus-628219ea2bfd48ad236f9c253dc412edcc8e3004.tar.bz2 manaplus-628219ea2bfd48ad236f9c253dc412edcc8e3004.tar.xz manaplus-628219ea2bfd48ad236f9c253dc412edcc8e3004.zip |
Use textboxpopup in tooltiplistener.
-rw-r--r-- | src/listeners/tooltiplistener.cpp | 7 |
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(); } |