mirror of https://github.com/PCSX2/pcsx2.git
Qt: Remove rich discord presence button.
Not implemented.
This commit is contained in:
parent
364e6a1341
commit
ded036b93e
|
@ -41,7 +41,6 @@ InterfaceSettingsWidget::InterfaceSettingsWidget(SettingsDialog* dialog, QWidget
|
||||||
m_ui.setupUi(this);
|
m_ui.setupUi(this);
|
||||||
|
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.inhibitScreensaver, "UI", "InhibitScreensaver", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.inhibitScreensaver, "UI", "InhibitScreensaver", true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.discordPresence, "UI", "DiscordPresence", false);
|
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.confirmShutdown, "UI", "ConfirmShutdown", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.confirmShutdown, "UI", "ConfirmShutdown", true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.saveStateOnShutdown, "EmuCore", "SaveStateOnShutdown", false);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.saveStateOnShutdown, "EmuCore", "SaveStateOnShutdown", false);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.pauseOnStart, "UI", "StartPaused", false);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.pauseOnStart, "UI", "StartPaused", false);
|
||||||
|
@ -61,8 +60,6 @@ InterfaceSettingsWidget::InterfaceSettingsWidget(SettingsDialog* dialog, QWidget
|
||||||
m_ui.inhibitScreensaver, tr("Inhibit Screensaver"), tr("Checked"),
|
m_ui.inhibitScreensaver, tr("Inhibit Screensaver"), tr("Checked"),
|
||||||
tr("Prevents the screen saver from activating and the host from sleeping while emulation is running."));
|
tr("Prevents the screen saver from activating and the host from sleeping while emulation is running."));
|
||||||
|
|
||||||
dialog->registerWidgetHelp(m_ui.discordPresence, tr("Enable Discord Presence"), tr("Unchecked"),
|
|
||||||
tr("Shows the game you are currently playing as part of your profile in Discord."));
|
|
||||||
if (AutoUpdaterDialog::isSupported())
|
if (AutoUpdaterDialog::isSupported())
|
||||||
{
|
{
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.autoUpdateEnabled, "AutoUpdater", "CheckAtStartup", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.autoUpdateEnabled, "AutoUpdater", "CheckAtStartup", true);
|
||||||
|
|
|
@ -39,13 +39,6 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QCheckBox" name="discordPresence">
|
|
||||||
<property name="text">
|
|
||||||
<string>Enable Discord Presence</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QCheckBox" name="pauseOnStart">
|
<widget class="QCheckBox" name="pauseOnStart">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
@ -53,7 +46,7 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QCheckBox" name="pauseOnFocusLoss">
|
<widget class="QCheckBox" name="pauseOnFocusLoss">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Pause On Focus Loss</string>
|
<string>Pause On Focus Loss</string>
|
||||||
|
@ -67,7 +60,7 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QCheckBox" name="saveStateOnShutdown">
|
<widget class="QCheckBox" name="saveStateOnShutdown">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Save State On Shutdown</string>
|
<string>Save State On Shutdown</string>
|
||||||
|
|
Loading…
Reference in New Issue