diff options
Diffstat (limited to 'lib/tdeqt4painter.cpp')
-rw-r--r-- | lib/tdeqt4painter.cpp | 2 |
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) |