diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-07-13 12:38:21 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-07-13 12:38:21 +0200 |
| commit | c8af83202a44f81cd3a6554a5897bede33b51f94 (patch) | |
| tree | 6cc3c825dc96af074bfc7e66839c4f039cd6bdef /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | |
| parent | fc967908ea439811006c63e5ac138b7c77392d45 (diff) | |
Qt/GraphicsWindow: Fix lazy initialisation bugs
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp index ff37193288..5ce4ea4319 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp @@ -41,6 +41,7 @@ GeneralWidget::GeneralWidget(X11Utils::XRRConfiguration* xrr_config, GraphicsWin connect(parent, &GraphicsWindow::BackendChanged, this, &GeneralWidget::OnBackendChanged); connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [=](Core::State state) { OnEmulationStateChanged(state != Core::State::Uninitialized); }); + OnEmulationStateChanged(Core::GetState() != Core::State::Uninitialized); } void GeneralWidget::CreateWidgets() |
