summaryrefslogtreecommitdiffstats
path: root/src/widgets/qspinwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-07-28 15:51:58 -0500
committerTimothy Pearson <[email protected]>2012-07-28 15:51:58 -0500
commitfe7969ef886d7287fa959929ddd33fbad8407884 (patch)
tree589aacc109d27561a5188bb46bce27c78bad8f5b /src/widgets/qspinwidget.cpp
parentdba8a853b65e5707e48450e5085e0ff0513b4203 (diff)
downloadtqt3-fe7969ef886d7287fa959929ddd33fbad8407884.tar.gz
tqt3-fe7969ef886d7287fa959929ddd33fbad8407884.zip
Automated update from Qt3
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;