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
This commit is contained in:
g_j_m 2006-11-10 07:15:57 +00:00
parent 32606e0d37
commit 09d8b56262

View File

@ -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<QByteArray> 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;