We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2f0ae29 commit dbdeca2Copy full SHA for dbdeca2
src/app/qgisapp.cpp
@@ -36,7 +36,7 @@
36
#include <QEvent>
37
#include <QFile>
38
#include <QFileInfo>
39
-#include <QImageReader>
+#include <QImageWriter>
40
#include <QInputDialog>
41
#include <QKeyEvent>
42
#include <QLabel>
@@ -3439,7 +3439,7 @@ void QgisApp::saveMapAsImage()
3439
// get a list of supported output image types
3440
int myCounterInt = 0;
3441
QString myFilters;
3442
- QList<QByteArray> formats = QImageReader::supportedImageFormats();
+ QList<QByteArray> formats = QImageWriter::supportedImageFormats();
3443
3444
for ( ; myCounterInt < formats.count(); myCounterInt++ )
3445
{
0 commit comments