Skip to content
Permalink
Browse files

Fix printing of pie and text diagrams

  • Loading branch information
Marco Hugentobler
Marco Hugentobler committed Sep 5, 2012
1 parent 0c7f729 commit 1497cbbabc7be5c3e980cc72699c320e045005bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/diagram/qgsdiagram.cpp
@@ -35,7 +35,7 @@ QSizeF QgsDiagram::sizePainterUnits( const QSizeF& size, const QgsDiagramSetting
{
if ( s.sizeType == QgsDiagramSettings::MM )
{
return QSizeF( size.width() * c.scaleFactor() * c.rasterScaleFactor(), size.height() * c.scaleFactor() * c.rasterScaleFactor() );
return QSizeF( size.width() * c.scaleFactor(), size.height() * c.scaleFactor() );
}
else
{

0 comments on commit 1497cbb

Please sign in to comment.
You can’t perform that action at this time.