Skip to content

Commit

Permalink
Remove unnecessary ternary test
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Jul 31, 2017
1 parent 8d1ee93 commit d23137e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit d23137e

Please sign in to comment.