Skip to content

Commit dbdeca2

Browse files
author
jef
committedJun 17, 2010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include <QEvent>
3737
#include <QFile>
3838
#include <QFileInfo>
39-
#include <QImageReader>
39+
#include <QImageWriter>
4040
#include <QInputDialog>
4141
#include <QKeyEvent>
4242
#include <QLabel>
@@ -3439,7 +3439,7 @@ void QgisApp::saveMapAsImage()
34393439
// get a list of supported output image types
34403440
int myCounterInt = 0;
34413441
QString myFilters;
3442-
QList<QByteArray> formats = QImageReader::supportedImageFormats();
3442+
QList<QByteArray> formats = QImageWriter::supportedImageFormats();
34433443

34443444
for ( ; myCounterInt < formats.count(); myCounterInt++ )
34453445
{

0 commit comments

Comments
 (0)
Please sign in to comment.