diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 15:11:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 15:11:07 +0300 |
commit | c3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79 (patch) | |
tree | dc164a33a3732de36fcca452cc19841ed3663ff1 /src/listeners/tooltiplistener.cpp | |
parent | 9c6f59308ebf8d488e0949c76e7c452876fe753f (diff) | |
download | plus-c3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79.tar.gz plus-c3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79.tar.bz2 plus-c3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79.tar.xz plus-c3bb4f8f2eff05ccdb8a3f9ef58fc741eedfaa79.zip |
Fix issies found by gcc 6 in paranoid mode.
Diffstat (limited to 'src/listeners/tooltiplistener.cpp')
-rw-r--r-- | src/listeners/tooltiplistener.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/tooltiplistener.cpp b/src/listeners/tooltiplistener.cpp index 0080230d3..0281be969 100644 --- a/src/listeners/tooltiplistener.cpp +++ b/src/listeners/tooltiplistener.cpp @@ -35,7 +35,7 @@ ToolTipListener::ToolTipListener() : void ToolTipListener::mouseMoved(MouseEvent &event) { - if (mToolTip.empty()) + if (mToolTip.empty() || !textBoxPopup) return; int x = 0; @@ -56,7 +56,7 @@ void ToolTipListener::mouseMoved(MouseEvent &event) void ToolTipListener::mouseExited(MouseEvent &event A_UNUSED) { - if (mToolTip.empty()) + if (mToolTip.empty() || !textBoxPopup) return; textBoxPopup->hide(); } |