summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2018-10-28 23:51:23 +0100
committerGitHub <noreply@github.com>2018-10-28 23:51:23 +0100
commit2071dea9b7578dd933f0bf0f9aea235dd0ca1030 (patch)
tree737820f0b1731bcbf9302606ac57ba0145aa0518 /Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
parent9e22288f8991155c6682b089cec95496fa4a81d2 (diff)
parentea77899ddd4484229bda1cc5016a158b707ec75d (diff)
Merge pull request #7497 from stenzek/lazy-initialize
Qt/MainWindow: Lazy initialize child windows
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
index 456b132847..e66f5a27ff 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
@@ -27,17 +27,6 @@
GraphicsWindow::GraphicsWindow(X11Utils::XRRConfiguration* xrr_config, MainWindow* parent)
: QDialog(parent), m_xrr_config(xrr_config)
{
- // GraphicsWindow initialization is heavy due to dependencies on the graphics subsystem.
- // To prevent blocking startup, we create the layout and children at first show time.
-}
-
-void GraphicsWindow::Initialize()
-{
- if (m_lazy_initialized)
- return;
-
- m_lazy_initialized = true;
-
CreateMainLayout();
setWindowTitle(tr("Graphics"));