Skip to content
Permalink
Browse files
fix #3499
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15184 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 17, 2011
1 parent a0241d3 commit 2a25fd7bae49167741ad0ceafb2816a091d37658
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgssearchquerybuilder.cpp
@@ -377,6 +377,11 @@ void QgsSearchQueryBuilder::saveQuery()
return;
}

if ( !saveFileName.endsWith( ".qqf", Qt::CaseInsensitive ) )
{
saveFileName += ".qqf";
}

QFile saveFile( saveFileName );
if ( !saveFile.open( QIODevice::WriteOnly ) )
{

0 comments on commit 2a25fd7

Please sign in to comment.