[QGIS Commit] r13957 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jul 24 11:28:35 EDT 2010


Author: brushtyler
Date: 2010-07-24 15:28:35 +0000 (Sat, 24 Jul 2010)
New Revision: 13957

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
changed wrong key used retrieving from settings the last used image filter, to fix #2901

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-07-24 07:24:25 UTC (rev 13956)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-07-24 15:28:35 UTC (rev 13957)
@@ -3462,7 +3462,7 @@
 
   //find out the last used filter
   QSettings myQSettings;  // where we keep last used filter in persistent state
-  QString myLastUsedFilter = myQSettings.value( "/UI/saveAsImageFilter" ).toString();
+  QString myLastUsedFilter = myQSettings.value( "/UI/lastSaveAsImageFilter" ).toString();
   QString myLastUsedDir = myQSettings.value( "/UI/lastSaveAsImageDir", "." ).toString();
 
   // get a list of supported output image types



More information about the QGIS-commit mailing list