Skip to content
Permalink
Browse files

[welcome page] reverse chronological order for pinned projects

  • Loading branch information
nirvn committed Oct 31, 2017
1 parent 3ae9ac5 commit d1d95b1d6ff20a1d649fd70cc8bc07ec04a152fa
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/qgisapp.cpp
@@ -1657,6 +1657,7 @@ void QgisApp::readRecentProjects()
}
std::sort( projectKeys.begin(), projectKeys.end() );

int pinPos = 0;
Q_FOREACH ( int key, projectKeys )
{
QgsWelcomePageItemsModel::RecentProjectData data;
@@ -1669,7 +1670,8 @@ void QgisApp::readRecentProjects()
settings.endGroup();
if ( data.pin )
{
mRecentProjects.prepend( data );
mRecentProjects.insert( pinPos, data );
pinPos++;
}
else
{

0 comments on commit d1d95b1

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