diff options
| author | Léo Lam <leo@leolam.fr> | 2023-04-28 01:20:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 01:20:50 +0100 |
| commit | 88320f385de7c79f90df88ab97ea9436a78a50aa (patch) | |
| tree | 561d73da7ae0d8e8c34b1fdb724c1d77ced7c37c /Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp | |
| parent | a75d22d90142ab0fd74e25979fe45f5644164613 (diff) | |
| parent | b59ca9682ec179cff99c08a53ddcdecda9179a73 (diff) | |
Merge pull request #11798 from Dentomologist/remove_obsolete_widget_member_variable
Qt/GeneralWidget and GraphicsWidget: Remove unused member variable
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp index e346a6d0dd..535458685c 100644 --- a/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsWindow.cpp @@ -24,8 +24,7 @@ #include "VideoCommon/VideoBackendBase.h" #include "VideoCommon/VideoConfig.h" -GraphicsWindow::GraphicsWindow(X11Utils::XRRConfiguration* xrr_config, MainWindow* parent) - : QDialog(parent), m_xrr_config(xrr_config) +GraphicsWindow::GraphicsWindow(MainWindow* parent) : QDialog(parent) { CreateMainLayout(); @@ -46,7 +45,7 @@ void GraphicsWindow::CreateMainLayout() main_layout->addWidget(tab_widget); main_layout->addWidget(button_box); - auto* const general_widget = new GeneralWidget(m_xrr_config, this); + auto* const general_widget = new GeneralWidget(this); auto* const enhancements_widget = new EnhancementsWidget(this); auto* const hacks_widget = new HacksWidget(this); auto* const advanced_widget = new AdvancedWidget(this); |
