ui: moved recent projects submenu

* moved the menu entry for "recent projects" to be placed close to "open project"
* replaced enum for MaxRecentProjectsCount in AppSettings by a getter function.
This commit is contained in:
malte_langkabel
2016-03-23 14:15:30 +01:00
parent d1a4bc7b08
commit fee1d97604
4 changed files with 30 additions and 24 deletions
+5
View File
@@ -23,6 +23,11 @@ std::string ApplicationSettings::getStartupProjectFilePath() const
return getValue<std::string>("startup_project", "");
}
int ApplicationSettings::getMaxRecentProjectsCount() const
{
return 7;
}
std::vector<FilePath> ApplicationSettings::getHeaderSearchPaths() const
{
return getPathValues("source/header_search_paths/header_search_path");