ui: Added menu action to display EULA and force accepting on Mac
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user