DolphinQt2: Experimental GUI Warning Prompt.

Add a GUI prompt to tell users not to use DolphinQt by accident.
This commit is contained in:
EmptyChaos 2016-07-13 05:52:45 +00:00
parent 3e4cea7f6f
commit 0efb19e66a
8 changed files with 170 additions and 6 deletions

View file

@ -23,6 +23,13 @@ QString Settings::GetThemeDir() const
return QString::fromStdString(File::GetThemeDir(theme_name.toStdString()));
}
bool Settings::IsInDevelopmentWarningEnabled() const
{
// There's intentionally no way to set this from the UI.
// Add it to your INI manually instead.
return value(QStringLiteral("ShowDevelopmentWarning"), true).toBool();
}
QString Settings::GetLastGame() const
{
return value(QStringLiteral("GameList/LastGame")).toString();