[QGIS Commit] r8825 - branches/advanced_printing_branch/src/app/composer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Jul 23 05:38:45 EDT 2008


Author: mhugent
Date: 2008-07-23 05:38:45 -0400 (Wed, 23 Jul 2008)
New Revision: 8825

Modified:
   branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp
Log:
Fix problem where composer map was filled with feature color if last layer is polygon

Modified: branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp
===================================================================
--- branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp	2008-07-22 14:50:59 UTC (rev 8824)
+++ branches/advanced_printing_branch/src/app/composer/qgscomposeritem.cpp	2008-07-23 09:38:45 UTC (rev 8825)
@@ -309,6 +309,7 @@
   if(mFrame)
     {
       p->setPen(pen());
+      p->setBrush(Qt::NoBrush);
       p->setRenderHint(QPainter::Antialiasing, true);
       p->drawRect (QRectF( 0, 0, rect().width(), rect().height()));
     }



More information about the QGIS-commit mailing list