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:
@@ -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");
|
||||
|
||||
@@ -14,10 +14,7 @@ public:
|
||||
|
||||
std::string getStartupProjectFilePath() const;
|
||||
|
||||
enum
|
||||
{
|
||||
MaximalAmountOfRecentProjects = 7
|
||||
};
|
||||
int getMaxRecentProjectsCount() const;
|
||||
|
||||
// source
|
||||
std::vector<FilePath> getHeaderSearchPaths() const;
|
||||
|
||||
Reference in New Issue
Block a user