Hi all,

the tiny patch below fixes a missing gdal_translate formats list when the 
application is installed in a non-standard path.

Cheers
Albrecht.

Index: src/CCopyright.cpp
===================================================================
--- src/CCopyright.cpp  (Revision 2789)
+++ src/CCopyright.cpp  (Arbeitskopie)
@@ -79,7 +79,7 @@ CCopyright::CCopyright()
         ));

     QProcess gdalFmts;
-    gdalFmts.start("gdal_translate", QStringList() << "--formats");
+    gdalFmts.start(GDALTRANSLATE, QStringList() << "--formats");
     if (gdalFmts.waitForStarted()) {
        gdalFmts.waitForFinished();
        textGdalFmts->setText(gdalFmts.readAll());

Attachment: pgpKLbGfg65gE.pgp
Description: PGP signature

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to