summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtoolbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-10-16 15:40:54 -0500
committerTimothy Pearson <[email protected]>2012-10-16 15:40:54 -0500
commit0e044c1a92745f8508f5813efc9709a280583d11 (patch)
tree67963c1b752b6fa680f9123b73fca2c703b7c61b /src/widgets/qtoolbutton.cpp
parentff2caed1b8e1bea513172d48d07b13f53b73a9de (diff)
downloadtqt3-0e044c1a92745f8508f5813efc9709a280583d11.tar.gz
tqt3-0e044c1a92745f8508f5813efc9709a280583d11.zip
Automated update from Qt3
Diffstat (limited to 'src/widgets/qtoolbutton.cpp')
-rw-r--r--src/widgets/qtoolbutton.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qtoolbutton.cpp b/src/widgets/qtoolbutton.cpp
index e7f7e6db6..1912bebf1 100644
--- a/src/widgets/qtoolbutton.cpp
+++ b/src/widgets/qtoolbutton.cpp
@@ -484,6 +484,8 @@ void TQToolButton::drawButton( TQPainter * p )
flags |= TQStyle::Style_Down;
if (isOn())
flags |= TQStyle::Style_On;
+ if (hasMouse())
+ flags |= TQStyle::Style_MouseOver;
if (autoRaise()) {
flags |= TQStyle::Style_AutoRaise;
if (uses3D()) {