Skip to content
Permalink
Browse files

Remove unnecessary ternary test

  • Loading branch information
pblottiere committed Jul 11, 2017
1 parent 8d1ee93 commit d23137e5d607ca9e06fc54589c13b06f8e2616c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -5273,7 +5273,7 @@ void QgisApp::enableProjectMacros()
*/
bool QgisApp::addProject( const QString &projectFile )
{
bool zip = ( QFileInfo( projectFile ).suffix() == "qgz" ) ? true : false;
bool zip = ( QFileInfo( projectFile ).suffix() == "qgz" );

// close the previous opened project if any
closeProject();

0 comments on commit d23137e

Please sign in to comment.
You can’t perform that action at this time.