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 3ae9ac5 commit d1d95b1Copy full SHA for d1d95b1
src/app/qgisapp.cpp
@@ -1657,6 +1657,7 @@ void QgisApp::readRecentProjects()
1657
}
1658
std::sort( projectKeys.begin(), projectKeys.end() );
1659
1660
+ int pinPos = 0;
1661
Q_FOREACH ( int key, projectKeys )
1662
{
1663
QgsWelcomePageItemsModel::RecentProjectData data;
@@ -1669,7 +1670,8 @@ void QgisApp::readRecentProjects()
1669
1670
settings.endGroup();
1671
if ( data.pin )
1672
- mRecentProjects.prepend( data );
1673
+ mRecentProjects.insert( pinPos, data );
1674
+ pinPos++;
1675
1676
else
1677
0 commit comments