Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 4eba55b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/qgssearchquerybuilder.cpp
Expand Up @@ -377,6 +377,11 @@ void QgsSearchQueryBuilder::saveQuery()
return;
}

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

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

0 comments on commit 4eba55b

Please sign in to comment.