mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #314] [MERGED] Replace remaining uses of QDir::currentPath() / "user" with GetUserPath(UserDir). #1472
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1472
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/314
Author: @squidbus
Created: 7/21/2024
Status: ✅ Merged
Merged: 7/22/2024
Merged by: @georgemoralis
Base:
main← Head:game-data-path📝 Commits (1)
54b5900Replace remaining uses of QDir::currentPath() / user with UserDir.📊 Changes
3 files changed (+36 additions, -17 deletions)
View changed files
📝
src/qt_gui/game_grid_frame.cpp(+11 -7)📝
src/qt_gui/game_list_frame.cpp(+12 -7)📝
src/qt_gui/trophy_viewer.cpp(+13 -3)📄 Description
Instead of relying on
QDir::currentPath() + "/user"to be correct, useGetUserPath(UserDir)as the single source of truth on the user directory like the rest of the codebase.I think I handled the cases where
wstringis needed for Windows correctly, let me know if there's anything wrong there.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.