diff options
Diffstat (limited to 'src/ui/button.cpp')
| -rw-r--r-- | src/ui/button.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/button.cpp b/src/ui/button.cpp index 18279b0e0..9b96f8f52 100644 --- a/src/ui/button.cpp +++ b/src/ui/button.cpp @@ -32,7 +32,7 @@ Button::Button (QWidget *parent, uint normal, uint pressed, uint cursor) name_pressed = pressed; name_cursor = cursor; skin = Skin::instance(); - setON (FALSE); + setON (false); setCursor (skin->getCursor (name_cursor)); connect (skin, SIGNAL (skinChanged()), this, SLOT (updateSkin())); } @@ -63,7 +63,7 @@ void Button::mousePressEvent (QMouseEvent *e) void Button::mouseReleaseEvent (QMouseEvent*) { - setON (FALSE); + setON (false); if (m_cursorin) emit clicked(); } @@ -74,7 +74,7 @@ void Button::mouseMoveEvent (QMouseEvent *e) m_cursorin = true; setON (true); } else if ( m_cursorin && !rect().contains(e->pos()) ) { - m_cursorin = FALSE; - setON (FALSE); + m_cursorin = false; + setON (false); } } |
