diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-04-08 20:33:55 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-05-01 08:54:17 -0700 |
| commit | 0df401b164bbe2b0314b74f1fd6385e852bbe098 (patch) | |
| tree | 9f23d7d5cb33fb3a092d641da621cc9331577b73 /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | |
| parent | b71fdef356caf6ca376c0df474212a192951e810 (diff) | |
Core::IsRunning: Avoid Global System Accessor
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp index 5f914169ff..52f09a6f41 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp @@ -361,7 +361,7 @@ void GeneralWidget::OnBackendChanged(const QString& backend_name) const bool supports_adapters = !adapters.empty(); m_adapter_combo->setCurrentIndex(g_Config.iAdapter); - m_adapter_combo->setEnabled(supports_adapters && !Core::IsRunning()); + m_adapter_combo->setEnabled(supports_adapters && !Core::IsRunning(Core::System::GetInstance())); static constexpr char TR_ADAPTER_AVAILABLE_DESCRIPTION[] = QT_TR_NOOP("Selects a hardware adapter to use.<br><br>" |
