Skip to content

Commit 4776d60

Browse files
author
jef
committed
also use QPixmap for decorations (followup to r10926)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10965 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cc81358 commit 4776d60

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/gui/qgsmapcanvasmap.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,7 @@ void QgsMapCanvasMap::render()
105105

106106
QPaintDevice& QgsMapCanvasMap::paintDevice()
107107
{
108-
if ( mUseQImageToRender )
109-
{
110-
return mImage;
111-
}
112-
else
113-
{
114-
return mPixmap;
115-
}
108+
return mPixmap;
116109
}
117110

118111
void QgsMapCanvasMap::updateContents()

0 commit comments

Comments
 (0)