summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-13 13:37:48 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-13 13:37:48 -0500
commit2624ef7e332e99316a26b16cf8c3f0043017edf1 (patch)
tree28e92440e359252bf29c751c02ba92b075b9cd79 /lib
parenta3ae879d7bf992c7097b1897b2f1369dc0d21490 (diff)
downloadqt4-tqt-theme-engine-2624ef7e332e99316a26b16cf8c3f0043017edf1.tar.gz
qt4-tqt-theme-engine-2624ef7e332e99316a26b16cf8c3f0043017edf1.zip
Fix spinbox rendering
Diffstat (limited to 'lib')
-rw-r--r--lib/tdeqt4painter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdeqt4painter.cpp b/lib/tdeqt4painter.cpp
index 072c4d8..b8ddb28 100644
--- a/lib/tdeqt4painter.cpp
+++ b/lib/tdeqt4painter.cpp
@@ -713,7 +713,7 @@ bool TDEQt4PaintDevice::cmd( int c, TQPainter *pt, TQPDevCmdParam *p )
m_qt4painter->setClipping( (m_qt4OrigClipping)?true:p[0].ival );
break;
case PdcSetClipRegion:
- m_qt4painter->setClipRegion( qt4region.intersected(m_qt4OrigClipRegion), Qt::ReplaceClip );
+ m_qt4painter->setClipRegion( (m_qt4OrigClipping)?qt4region.intersected(m_qt4OrigClipRegion):qt4region, Qt::ReplaceClip );
break;
default:
#if defined(QT_CHECK_RANGE)