Skip to content
Permalink
Browse files

Fix order of recent projects

  • Loading branch information
NathanW2 committed Aug 26, 2015
1 parent 100a609 commit 2a9e8103804ae595a1a57814751d5245b9fefff8
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/app/qgisapp.cpp
@@ -1152,14 +1152,12 @@ void QgisApp::readSettings()
data.path = project;
data.title = project;

mRecentProjects.prepend( data );
mRecentProjects.append( data );
}

settings.beginGroup( "/UI/recentProjects" );
QStringList projectKeys = settings.childGroups();



Q_FOREACH ( const QString& key, projectKeys )
{
QgsWelcomePageItemsModel::RecentProjectData data;
@@ -1168,7 +1166,7 @@ void QgisApp::readSettings()
data.path = settings.value( "path" ).toString();
data.previewImagePath = settings.value( "previewImage" ).toString();
settings.endGroup();
mRecentProjects.prepend( data );
mRecentProjects.append( data );
}
settings.endGroup();

0 comments on commit 2a9e810

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