mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 14:46:33 +02:00
Fix isDown state in ImageButton
This commit is contained in:
@@ -85,7 +85,7 @@ ImageButton::paintEvent( QPaintEvent* event )
|
|||||||
p.setClipRect( event->rect() );
|
p.setClipRect( event->rect() );
|
||||||
|
|
||||||
QIcon::Mode mode = isDown()
|
QIcon::Mode mode = isDown()
|
||||||
? QIcon::Active
|
? QIcon::Selected
|
||||||
: QIcon::Normal;
|
: QIcon::Normal;
|
||||||
|
|
||||||
QIcon::State state = isChecked()
|
QIcon::State state = isChecked()
|
||||||
|
Reference in New Issue
Block a user