mirror of
https://github.com/stenzek/duckstation.git
synced 2026-07-11 01:24:11 +02:00
Qt: Remove unused signal in SettingsWindow
And fix a typo.
This commit is contained in:
@@ -124,7 +124,7 @@ void AdvancedSettingsWidget::onAnyLogSinksChanged()
|
||||
void AdvancedSettingsWidget::onShowDebugOptionsStateChanged()
|
||||
{
|
||||
const bool enabled = QtHost::ShouldShowDebugOptions();
|
||||
emit m_dialog->debugOptionsVisibiltyChanged(enabled);
|
||||
emit m_dialog->debugOptionsVisibilityChanged(enabled);
|
||||
}
|
||||
|
||||
void AdvancedSettingsWidget::refreshWebCacheSize()
|
||||
|
||||
@@ -63,7 +63,7 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsWindow* dialog, QWidget*
|
||||
|
||||
// Rendering Tab
|
||||
|
||||
connect(m_dialog, &SettingsWindow::debugOptionsVisibiltyChanged, this,
|
||||
connect(m_dialog, &SettingsWindow::debugOptionsVisibilityChanged, this,
|
||||
&GraphicsSettingsWidget::onShowDebugSettingsChanged);
|
||||
|
||||
if (!m_dialog->isPerGameSettings())
|
||||
|
||||
@@ -2809,7 +2809,7 @@ SettingsWindow* MainWindow::getSettingsWindow()
|
||||
if (!m_settings_window)
|
||||
{
|
||||
m_settings_window = new SettingsWindow();
|
||||
connect(m_settings_window, &SettingsWindow::debugOptionsVisibiltyChanged, this,
|
||||
connect(m_settings_window, &SettingsWindow::debugOptionsVisibilityChanged, this,
|
||||
&MainWindow::updateDebugMenuVisibility);
|
||||
}
|
||||
|
||||
|
||||
@@ -270,7 +270,7 @@ void SettingsWindow::connectUi()
|
||||
if (!isPerGameSettings())
|
||||
{
|
||||
// must be a queued connection, since this comes from a control on the widget
|
||||
connect(this, &SettingsWindow::debugOptionsVisibiltyChanged, this, &SettingsWindow::reloadPages,
|
||||
connect(this, &SettingsWindow::debugOptionsVisibilityChanged, this, &SettingsWindow::reloadPages,
|
||||
Qt::QueuedConnection);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,8 +88,7 @@ public:
|
||||
void setCategory(const char* category);
|
||||
|
||||
Q_SIGNALS:
|
||||
void settingsResetToDefaults();
|
||||
void debugOptionsVisibiltyChanged(bool enabled);
|
||||
void debugOptionsVisibilityChanged(bool enabled);
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent* event) override;
|
||||
|
||||
Reference in New Issue
Block a user