Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 10, 2018
1 parent a5b0c76 commit bc2d963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -4148,7 +4148,7 @@ void QgisApp::saveRecentProjectPath( bool savePreviewImage )

// Keep the list to maxProjects items by trimming excess off the bottom
// And remove the associated image
while ( mRecentProjects.count() > maxProjects + pinnedCount )
while ( static_cast< uint >( mRecentProjects.count() ) > maxProjects + pinnedCount )
{
QFile( mRecentProjects.takeLast().previewImagePath ).remove();
}
Expand Down

0 comments on commit bc2d963

Please sign in to comment.