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, 1 insertions, 1 deletions
diff --git a/src/widgets/qspinwidget.cpp b/src/widgets/qspinwidget.cpp
index f0b6b7809..af2e19888 100644
--- a/src/widgets/qspinwidget.cpp
+++ b/src/widgets/qspinwidget.cpp
@@ -323,7 +323,7 @@ void TQSpinWidget::paintEvent( TQPaintEvent * )
TQStyle::SFlags flags = TQStyle::Style_Default;
if (isEnabled())
flags |= TQStyle::Style_Enabled;
- if (hasFocus() || focusProxy() && focusProxy()->hasFocus())
+ if (hasFocus() || (focusProxy() && focusProxy()->hasFocus()))
flags |= TQStyle::Style_HasFocus;
TQStyle::SCFlags active;