Skip to content
Permalink
Browse files
fix #3499
git-svn-id: http://svn.osgeo.org/qgis/trunk@15184 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 17, 2011
1 parent c39beb7 commit 4eba55b77712cd8f6cb7869a78cdb258890b984b
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 4eba55b

Please sign in to comment.