From 0e044c1a92745f8508f5813efc9709a280583d11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 16 Oct 2012 15:40:54 -0500 Subject: Automated update from Qt3 --- src/widgets/qspinwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widgets/qspinwidget.cpp') 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; -- cgit v1.2.1