Skip to content
Permalink
Browse files
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@6067 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Nov 10, 2006
1 parent 0e7cc4a commit c9fed33
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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;

0 comments on commit c9fed33

Please sign in to comment.