Skip to content

Commit 09d8b56

Browse files
author
g_j_m
committed
Make svg files harder to load as images in the map composer because qt
doesn't support svg to the extent that we would like (ticket #338) git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6067 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 32606e0 commit 09d8b56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/composer/qgscomposerpicture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ QWidget *QgsComposerPicture::options ( void )
483483

484484
QString QgsComposerPicture::pictureDialog ( void )
485485
{
486-
QString filters = tr("Pictures") + " ( *.svg *.SVG ";
486+
QString filters = tr("Pictures ("); //+ " ( *.svg *.SVG ";
487487
QList<QByteArray> formats = QImageWriter::supportedImageFormats();
488488

489489
for ( int i = 0; i < formats.count(); i++ )
@@ -492,7 +492,7 @@ QString QgsComposerPicture::pictureDialog ( void )
492492
QString fltr = " *." + frmt.lower() + " *." + frmt.upper();
493493
filters += fltr;
494494
}
495-
filters += " )";
495+
filters += ");;All other files (*.*)";
496496

497497
// Retrieve the last used directory
498498
QSettings settings;

0 commit comments

Comments
 (0)