Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix order of recent projects
  • Loading branch information
NathanW2 committed Aug 26, 2015
1 parent 100a609 commit 2a9e810
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/qgisapp.cpp
Expand Up @@ -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;
Expand All @@ -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();

Expand Down

0 comments on commit 2a9e810

Please sign in to comment.