mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
DolphinQt2: Experimental GUI Warning Prompt.
Add a GUI prompt to tell users not to use DolphinQt by accident.
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user