summaryrefslogtreecommitdiffstats
path: root/src/widgets/qspinwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qspinwidget.cpp')
-rw-r--r--src/widgets/qspinwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qspinwidget.cpp b/src/widgets/qspinwidget.cpp
index af2e19888..9c0b2cbbc 100644
--- a/src/widgets/qspinwidget.cpp
+++ b/src/widgets/qspinwidget.cpp
@@ -323,6 +323,8 @@ void TQSpinWidget::paintEvent( TQPaintEvent * )
TQStyle::SFlags flags = TQStyle::Style_Default;
if (isEnabled())
flags |= TQStyle::Style_Enabled;
+ if (hasMouse())
+ flags |= TQStyle::Style_MouseOver;
if (hasFocus() || (focusProxy() && focusProxy()->hasFocus()))
flags |= TQStyle::Style_HasFocus;