diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-17 22:35:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 22:35:30 -0400 |
commit | 56c6a5def85cfd3001c88d69374e3fb164272b9e (patch) | |
tree | dfdceb64cc5c6c4f80f384206a080f77d7cc40ae /src/yuzu/configuration/configure_profile_manager.cpp | |
parent | 0c885249df93db3262ae6ed2df18ee1cad336723 (diff) | |
parent | c4ed791164df7e3e74042a37a62077b4dc4ade91 (diff) |
Merge pull request #4535 from lioncash/fileutil
common/fileutil: Convert namespace to Common::FS
Diffstat (limited to 'src/yuzu/configuration/configure_profile_manager.cpp')
-rw-r--r-- | src/yuzu/configuration/configure_profile_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_profile_manager.cpp b/src/yuzu/configuration/configure_profile_manager.cpp index f53423440..6334c4c50 100644 --- a/src/yuzu/configuration/configure_profile_manager.cpp +++ b/src/yuzu/configuration/configure_profile_manager.cpp @@ -34,7 +34,7 @@ constexpr std::array<u8, 107> backup_jpeg{ }; QString GetImagePath(Common::UUID uuid) { - const auto path = FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) + + const auto path = Common::FS::GetUserPath(Common::FS::UserPath::NANDDir) + "/system/save/8000000000000010/su/avators/" + uuid.FormatSwitch() + ".jpg"; return QString::fromStdString(path); } @@ -282,7 +282,7 @@ void ConfigureProfileManager::SetUserImage() { } const auto raw_path = QString::fromStdString( - FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) + "/system/save/8000000000000010"); + Common::FS::GetUserPath(Common::FS::UserPath::NANDDir) + "/system/save/8000000000000010"); const QFileInfo raw_info{raw_path}; if (raw_info.exists() && !raw_info.isDir() && !QFile::remove(raw_path)) { QMessageBox::warning(this, tr("Error deleting file"), |