From 01a0e4b658241cc3dbd8a5d11d34a6de48dab159 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 May 2015 00:55:13 +0300 Subject: Add strong typed bool type Visible. --- src/gui/popups/textpopup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/popups/textpopup.cpp') diff --git a/src/gui/popups/textpopup.cpp b/src/gui/popups/textpopup.cpp index 8387e394d..511816586 100644 --- a/src/gui/popups/textpopup.cpp +++ b/src/gui/popups/textpopup.cpp @@ -99,7 +99,7 @@ void TextPopup::show(const int x, const int y, const std::string &str1, posY = y - rect.height - distance; setPosition(posX, posY); - setVisible(true); + setVisible(Visible_true); requestMoveToTop(); } @@ -108,5 +108,5 @@ void TextPopup::mouseMoved(MouseEvent &event) Popup::mouseMoved(event); // When the mouse moved on top of the popup, hide it - setVisible(false); + setVisible(Visible_false); } -- cgit v1.2.3-70-g09d2