Navigation Menu

Skip to content

Commit

Permalink
fix #3499
Browse files Browse the repository at this point in the history
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 2a25fd7
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 2a25fd7

Please sign in to comment.