We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a5b0c76 commit bc2d963Copy full SHA for bc2d963
src/app/qgisapp.cpp
@@ -4148,7 +4148,7 @@ void QgisApp::saveRecentProjectPath( bool savePreviewImage )
4148
4149
// Keep the list to maxProjects items by trimming excess off the bottom
4150
// And remove the associated image
4151
- while ( mRecentProjects.count() > maxProjects + pinnedCount )
+ while ( static_cast< uint >( mRecentProjects.count() ) > maxProjects + pinnedCount )
4152
{
4153
QFile( mRecentProjects.takeLast().previewImagePath ).remove();
4154
}
0 commit comments