mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-05 11:47:53 -05:00
profile_manager: Create save data if it doesn't exist on use
This commit is contained in:
@ -163,7 +163,7 @@ void ConfigureSystem::UpdateCurrentUser() {
|
||||
|
||||
void ConfigureSystem::ReadSystemSettings() {}
|
||||
|
||||
std::string ConfigureSystem::GetAccountUsername(Service::Account::UUID uuid) {
|
||||
std::string ConfigureSystem::GetAccountUsername(Service::Account::UUID uuid) const {
|
||||
Service::Account::ProfileBase profile;
|
||||
if (!profile_manager->GetProfileBase(uuid, profile))
|
||||
return "";
|
||||
|
@ -10,11 +10,11 @@
|
||||
#include <QWidget>
|
||||
#include "core/hle/service/acc/profile_manager.h"
|
||||
|
||||
class QVBoxLayout;
|
||||
class QTreeView;
|
||||
class QStandardItemModel;
|
||||
class QGraphicsScene;
|
||||
class QStandardItem;
|
||||
class QStandardItemModel;
|
||||
class QTreeView;
|
||||
class QVBoxLayout;
|
||||
|
||||
namespace Ui {
|
||||
class ConfigureSystem;
|
||||
@ -45,7 +45,7 @@ public slots:
|
||||
|
||||
private:
|
||||
void ReadSystemSettings();
|
||||
std::string GetAccountUsername(Service::Account::UUID uuid);
|
||||
std::string GetAccountUsername(Service::Account::UUID uuid) const;
|
||||
|
||||
QVBoxLayout* layout;
|
||||
QTreeView* tree_view;
|
||||
|
Reference in New Issue
Block a user