r16792 by fschmid - Applied Patch from Bug 10191: "make the red border around the page 1px wide"
scribus-commit
scribus-commit at lists.scribus.net
Tue Aug 16 21:36:24 UTC 2011
Author: fschmid
Date: Tue Aug 16 21:36:24 2011
New Revision: 16792
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16792
Log:
Applied Patch from Bug 10191: "make the red border around the page 1px wide"
Modified:
trunk/Scribus/scribus/canvas.cpp
Modified: trunk/Scribus/scribus/canvas.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16792&path=/trunk/Scribus/scribus/canvas.cpp
==============================================================================
--- trunk/Scribus/scribus/canvas.cpp (original)
+++ trunk/Scribus/scribus/canvas.cpp Tue Aug 16 21:36:24 2011
@@ -1851,7 +1851,7 @@
page->guides.drawPage(p, m_doc, lineWidth);
if (m_doc->currentPage() == page)
{
- p->setPen(PrefsManager::instance()->appPrefs.displayPrefs.pageBorderColor, 2 / m_viewMode.scale, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
+ p->setPen(PrefsManager::instance()->appPrefs.displayPrefs.pageBorderColor, 1 / m_viewMode.scale, Qt::SolidLine, Qt::FlatCap, Qt::MiterJoin);
p->drawRect(0, 0, pageWidth, pageHeight);
}
p->setAntialiasing(true);
More information about the scribus-commit
mailing list