[QGIS Commit] r11315 - branches/symbology-ng-branch/src/plugins/labeling

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Aug 9 10:08:31 EDT 2009


Author: wonder
Date: 2009-08-09 10:08:30 -0400 (Sun, 09 Aug 2009)
New Revision: 11315

Modified:
   branches/symbology-ng-branch/src/plugins/labeling/pallabeling.cpp
Log:
Fixed rendering of multipart labels from previous commit


Modified: branches/symbology-ng-branch/src/plugins/labeling/pallabeling.cpp
===================================================================
--- branches/symbology-ng-branch/src/plugins/labeling/pallabeling.cpp	2009-08-09 12:49:18 UTC (rev 11314)
+++ branches/symbology-ng-branch/src/plugins/labeling/pallabeling.cpp	2009-08-09 14:08:30 UTC (rev 11315)
@@ -557,7 +557,7 @@
     painter->drawText((0,0, txt);*/
 
     QPainterPath path;
-    path.addText(0,0, lyr.textFont, text);
+    path.addText(0,0, lyr.textFont, txt);
     painter->setPen( Qt::NoPen );
     painter->setBrush( lyr.textColor );
     painter->drawPath(path);



More information about the QGIS-commit mailing list