mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 09:09:12 +01:00
b59ca9682e
m_xrr_config was used by the GeneralWidget::GetAvailableResolutions function to get the list of supported fullscreen resolutions when HAVE_XRANDR was set. aa4088a removed the ability to set that resolution in the UI, leaving the GetAvailableResolutions function unused. m_xrr_config is initialized in MainWindow which still uses it to toggle fullscreen, but the references in GeneralWidget and GraphicsWidget (which just ferried m_xrr_config from MainWindow to GeneralWidget) are now unnecessary and removed in this commit.
32 lines
591 B
C++
32 lines
591 B
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <QHash>
|
|
|
|
class AdvancedWidget;
|
|
class EnhancementsWidget;
|
|
class HacksWidget;
|
|
class GeneralWidget;
|
|
class MainWindow;
|
|
class QLabel;
|
|
class QTabWidget;
|
|
class QDialogButtonBox;
|
|
class SoftwareRendererWidget;
|
|
|
|
class GraphicsWindow final : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit GraphicsWindow(MainWindow* parent);
|
|
|
|
signals:
|
|
void BackendChanged(const QString& backend);
|
|
|
|
private:
|
|
void CreateMainLayout();
|
|
void OnBackendChanged(const QString& backend);
|
|
};
|