mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-20 19:44:30 -04:00
Edit configure_graphics_advanced.cpp
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "citron/configuration/configure_graphics_advanced.h"
|
||||
#include <vector>
|
||||
#include <QLabel>
|
||||
#include <qnamespace.h>
|
||||
@@ -8,7 +10,6 @@
|
||||
#include "core/core.h"
|
||||
#include "ui_configure_graphics_advanced.h"
|
||||
#include "citron/configuration/configuration_shared.h"
|
||||
#include "citron/configuration/configure_graphics_advanced.h"
|
||||
#include "citron/configuration/shared_translation.h"
|
||||
#include "citron/configuration/shared_widget.h"
|
||||
|
||||
@@ -80,3 +81,16 @@ void ConfigureGraphicsAdvanced::RetranslateUI() {
|
||||
void ConfigureGraphicsAdvanced::ExposeComputeOption() {
|
||||
checkbox_enable_compute_pipelines->setVisible(true);
|
||||
}
|
||||
|
||||
QString ConfigureGraphicsAdvanced::GetTemplateStyleSheet() const {
|
||||
return m_template_style_sheet;
|
||||
}
|
||||
|
||||
void ConfigureGraphicsAdvanced::SetTemplateStyleSheet(const QString& sheet) {
|
||||
if (m_template_style_sheet == sheet) {
|
||||
return;
|
||||
}
|
||||
m_template_style_sheet = sheet;
|
||||
setStyleSheet(sheet);
|
||||
emit TemplateStyleSheetChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user