summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-10-14 21:46:54 +1000
committerStenzek <stenzek@gmail.com>2018-10-14 21:46:59 +1000
commit211a9bf6d27356693469e4273dfd42825e811b9e (patch)
tree0e4c035ad4aadc5fa908750fc64fc664372b854b /Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp
parentb5d855caf7a2bed70edca0385922ffc6dfb5286f (diff)
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"));