Skip to content
Permalink
Browse files
Fixes #17399 GetPrint doesn't need a proper image with width/height
  • Loading branch information
pblottiere committed Nov 10, 2017
1 parent ecacb3b commit edf9755c6cd582214687456ca0705aed9f66854a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -292,7 +292,7 @@ namespace QgsWms
QList<QgsWmsParametersLayer> params = mWmsParameters.layersParameters();

// create the output image
std::unique_ptr<QImage> image( createImage() );
std::unique_ptr<QImage> image( new QImage() );

// configure map settings (background, DPI, ...)
QgsMapSettings mapSettings;

0 comments on commit edf9755

Please sign in to comment.