diff options
Diffstat (limited to 'src/core/backing_store_qt.cpp')
-rw-r--r-- | src/core/backing_store_qt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/backing_store_qt.cpp b/src/core/backing_store_qt.cpp index fda60d094..613dfdbbc 100644 --- a/src/core/backing_store_qt.cpp +++ b/src/core/backing_store_qt.cpp @@ -70,12 +70,11 @@ BackingStoreQt::~BackingStoreQt() { } -void BackingStoreQt::paintToTarget(QPainter* painter, const QRectF& clipRect) +void BackingStoreQt::paintToTarget(QPainter* painter, const QRectF& rect) { if (m_pixelBuffer.isNull()) return; - QRectF rect = clipRect.isNull() ? m_pixelBuffer.rect() : clipRect; qreal x = rect.x() * m_deviceScaleFactor; qreal y = rect.y() * m_deviceScaleFactor; qreal w = rect.width() * m_deviceScaleFactor; |