Skip to content

Commit

Permalink
Fixes #17399 GetPrint doesn't need a proper image with width/height
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Nov 10, 2017
1 parent ecacb3b commit edf9755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit edf9755

Please sign in to comment.