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/qgis@6067 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Nov 10, 2006
1 parent 32606e0 commit 09d8b5626222754c00252060ab37250ace080feb
Showing with 2 additions and 2 deletions.
  1. +2 −2 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<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 09d8b56

Please sign in to comment.