[QGIS Commit] r15184 - trunk/qgis/src/gui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Feb 17 07:58:09 EST 2011


Author: jef
Date: 2011-02-17 04:58:09 -0800 (Thu, 17 Feb 2011)
New Revision: 15184

Modified:
   trunk/qgis/src/gui/qgssearchquerybuilder.cpp
Log:
fix #3499

Modified: trunk/qgis/src/gui/qgssearchquerybuilder.cpp
===================================================================
--- trunk/qgis/src/gui/qgssearchquerybuilder.cpp	2011-02-17 12:57:38 UTC (rev 15183)
+++ trunk/qgis/src/gui/qgssearchquerybuilder.cpp	2011-02-17 12:58:09 UTC (rev 15184)
@@ -377,6 +377,11 @@
     return;
   }
 
+  if ( !saveFileName.endsWith( ".qqf", Qt::CaseInsensitive ) )
+  {
+    saveFileName += ".qqf";
+  }
+
   QFile saveFile( saveFileName );
   if ( !saveFile.open( QIODevice::WriteOnly ) )
   {



More information about the QGIS-commit mailing list