mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
32606e0d37
commit
09d8b56262
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user