data: template argument handling

* storing template argument relations for cases where at lease one of these (template class, template argument) is defined inside the parsed project files.
* prevented storage from saving the same source location multiple times.
This commit is contained in:
malte_langkabel
2015-11-17 18:09:20 +01:00
parent 88b94a21d0
commit 901fa1a387
8 changed files with 92 additions and 37 deletions
+3 -3
View File
@@ -113,11 +113,11 @@ ApplicationSettings::ApplicationSettings()
std::vector<FilePath> ApplicationSettings::getRecentProjects() const
{
std::vector<FilePath> loadedRecentProjects = getPathValues("user/recent_projects/recent_project");
std::vector<FilePath> recentProjects;
for(FilePath project : loadedRecentProjects)
std::vector<FilePath> loadedRecentProjects = getPathValues("user/recent_projects/recent_project");
for (FilePath project: loadedRecentProjects)
{
if(project.exists())
if (project.exists())
{
recentProjects.push_back(project);
}