r20072 by jghali - #13058: Font Preview feature is unusable
scribus-commit
scribus-commit at lists.scribus.net
Mon May 11 10:04:35 UTC 2015
Author: jghali
Date: Mon May 11 10:04:35 2015
New Revision: 20072
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20072
Log:
#13058: Font Preview feature is unusable
Modified:
trunk/Scribus/scribus/sampleitem.cpp
Modified: trunk/Scribus/scribus/sampleitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20072&path=/trunk/Scribus/scribus/sampleitem.cpp
==============================================================================
--- trunk/Scribus/scribus/sampleitem.cpp (original)
+++ trunk/Scribus/scribus/sampleitem.cpp Mon May 11 10:04:35 2015
@@ -311,7 +311,7 @@
previewItem->setFillShade(bgShade);
previewItem->SetRectFrame();
previewItem->setSampleItem(true);
- previewItem->DrawObj(painter, QRect());
+ previewItem->DrawObj(painter, QRect(0, 0, width, height));
painter->end();
delete(painter);
delete previewItem;
More information about the scribus-commit
mailing list