summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_system.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-25 16:58:37 -0400
committerLioncash <mathew1800@gmail.com>2018-10-25 17:27:25 -0400
commit5172354e29fed02cbceee8d55564d32ca361d58f (patch)
tree9b732b4fbe16d88cbb406677220c9e44403fa6bf /src/yuzu/configuration/configure_system.h
parentbf7da804c5435a589909466d45e5ddf9a772cd45 (diff)
configure_system: Make GetAccountUsername() an internal function
We can just make the function accept an arbitrary ProfileManager reference and operate on that instead of tying the function to the class itself. This allows us to keep the function internal to the cpp file and removes the need to forward declare the UUID struct.
Diffstat (limited to 'src/yuzu/configuration/configure_system.h')
-rw-r--r--src/yuzu/configuration/configure_system.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/yuzu/configuration/configure_system.h b/src/yuzu/configuration/configure_system.h
index 0d15d9ac4..07764e1f7 100644
--- a/src/yuzu/configuration/configure_system.h
+++ b/src/yuzu/configuration/configure_system.h
@@ -9,17 +9,16 @@
#include <QList>
#include <QWidget>
-namespace Service::Account {
-class ProfileManager;
-struct UUID;
-} // namespace Service::Account
-
class QGraphicsScene;
class QStandardItem;
class QStandardItemModel;
class QTreeView;
class QVBoxLayout;
+namespace Service::Account {
+class ProfileManager;
+}
+
namespace Ui {
class ConfigureSystem;
}
@@ -36,7 +35,6 @@ public:
private:
void ReadSystemSettings();
- std::string GetAccountUsername(Service::Account::UUID uuid) const;
void UpdateBirthdayComboBox(int birthmonth_index);
void RefreshConsoleID();