Skip to content

Commit 6f171ef

Browse files
author
mhugent
committed
no selection squares in print mode
git-svn-id: http://svn.osgeo.org/qgis/trunk@13207 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8a43704 commit 6f171ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/composer/qgscomposermap.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,10 @@ void QgsComposerMap::drawCanvasItem( QGraphicsItem* item, QPainter* painter, con
14591459

14601460
painter->scale( scaleFactor, scaleFactor );
14611461

1462+
//a little trick to let the item know that the paint request comes from the composer
1463+
item->setData( 0, "composer" );
14621464
item->paint( painter, itemStyle, 0 );
1465+
item->setData( 0, "" );
14631466
painter->restore();
14641467
}
14651468

0 commit comments

Comments
 (0)