From 09d8b5626222754c00252060ab37250ace080feb Mon Sep 17 00:00:00 2001 From: g_j_m Date: Fri, 10 Nov 2006 07:15:57 +0000 Subject: [PATCH] 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 --- src/composer/qgscomposerpicture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/composer/qgscomposerpicture.cpp b/src/composer/qgscomposerpicture.cpp index 1068f18afa3..38c714e5192 100644 --- a/src/composer/qgscomposerpicture.cpp +++ b/src/composer/qgscomposerpicture.cpp @@ -483,7 +483,7 @@ QWidget *QgsComposerPicture::options ( void ) QString QgsComposerPicture::pictureDialog ( void ) { - QString filters = tr("Pictures") + " ( *.svg *.SVG "; + QString filters = tr("Pictures ("); //+ " ( *.svg *.SVG "; QList formats = QImageWriter::supportedImageFormats(); for ( int i = 0; i < formats.count(); i++ ) @@ -492,7 +492,7 @@ QString QgsComposerPicture::pictureDialog ( void ) QString fltr = " *." + frmt.lower() + " *." + frmt.upper(); filters += fltr; } - filters += " )"; + filters += ");;All other files (*.*)"; // Retrieve the last used directory QSettings settings;