ui: Added menu action to display EULA and force accepting on Mac

This commit is contained in:
Eberhard Graether
2017-05-30 00:30:52 +02:00
parent 9256618f7c
commit bd40294a2c
10 changed files with 144 additions and 8 deletions
+10
View File
@@ -380,6 +380,16 @@ bool ApplicationSettings::setRecentProjects(const std::vector<FilePath> &recentP
return setPathValues("user/recent_projects/recent_project", recentProjects);
}
int ApplicationSettings::getAcceptedEulaVersion() const
{
return getValue<int>("user/accepted_eula_version", 0);
}
void ApplicationSettings::setAcceptedEulaVersion(int version)
{
setValue<int>("user/accepted_eula_version", version);
}
int ApplicationSettings::getPluginPort() const
{
return getValue<int>("network/plugin_port", 6666);
+3
View File
@@ -110,6 +110,9 @@ public:
std::vector<FilePath> getRecentProjects() const;
bool setRecentProjects(const std::vector<FilePath>& recentProjects);
int getAcceptedEulaVersion() const;
void setAcceptedEulaVersion(int version);
// network
int getPluginPort() const;
void setPluginPort(const int pluginPort);