diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
| commit | 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 (patch) | |
| tree | 09084901838b8d57f345a5379cf5915cde4a9921 /src/ui/button.cpp | |
| parent | 013ee07b55a3738b28b5d46324392d8498b50f2b (diff) | |
| download | qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.gz qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.bz2 qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.zip | |
reapplied previous patch
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38
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); } } |
