r23538 by jghali - #16073 related : workaround apparent Qt bug by switching path/clip in QPainterPath::intersected() call
scribus-commit
scribus-commit at lists.scribus.net
Thu Mar 26 12:43:25 UTC 2020
Author: jghali
Date: Thu Mar 26 12:43:25 2020
New Revision: 23538
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23538
Log:
#16073 related : workaround apparent Qt bug by switching path/clip in QPainterPath::intersected() call
Modified:
trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23538&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp Thu Mar 26 12:43:25 2020
@@ -2648,7 +2648,7 @@
outline.addRect(0, 0, 1, 1);
outline = m_ctm.map(outline);
if (!m_currentClipPath.isEmpty())
- outline = outline.intersected(m_currentClipPath);
+ outline = m_currentClipPath.intersected(outline);
if ((inPattern == 0) && (outline.isEmpty() || outline.boundingRect().isNull()))
return;
More information about the scribus-commit
mailing list