summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-21 01:34:50 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:55 +0200
commit02c48a80f6f8f88716cdacbfb62643d04632949a (patch)
treec88957682cc66840315cd31ab3207587c659bca2 /src
parentsettings,uisettings: Remove leading underscore (diff)
downloadyuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.tar
yuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.tar.gz
yuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.tar.bz2
yuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.tar.lz
yuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.tar.xz
yuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.tar.zst
yuzu-02c48a80f6f8f88716cdacbfb62643d04632949a.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configuration_shared.cpp3
-rw-r--r--src/yuzu/configuration/configuration_shared.h5
2 files changed, 2 insertions, 6 deletions
diff --git a/src/yuzu/configuration/configuration_shared.cpp b/src/yuzu/configuration/configuration_shared.cpp
index d3cfacf48..8c12d063e 100644
--- a/src/yuzu/configuration/configuration_shared.cpp
+++ b/src/yuzu/configuration/configuration_shared.cpp
@@ -7,8 +7,7 @@
namespace ConfigurationShared {
-Tab::Tab(std::shared_ptr<std::forward_list<Tab*>> group_, QWidget* parent)
- : QWidget(parent), group{group_} {
+Tab::Tab(std::shared_ptr<std::forward_list<Tab*>> group, QWidget* parent) : QWidget(parent) {
if (group != nullptr) {
group->push_front(this);
}
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h
index 5313bfb4f..2a084b584 100644
--- a/src/yuzu/configuration/configuration_shared.h
+++ b/src/yuzu/configuration/configuration_shared.h
@@ -17,14 +17,11 @@ class Tab : public QWidget {
Q_OBJECT
public:
- explicit Tab(std::shared_ptr<std::forward_list<Tab*>> group_, QWidget* parent = nullptr);
+ explicit Tab(std::shared_ptr<std::forward_list<Tab*>> group, QWidget* parent = nullptr);
~Tab();
virtual void ApplyConfiguration() = 0;
virtual void SetConfiguration() = 0;
-
-private:
- std::shared_ptr<std::forward_list<Tab*>> group;
};
} // namespace ConfigurationShared