mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
user-manager: replacing fmt::format with string concat.
(cherry picked from commit 63379afc7a402edb2159912318281febc3e7438a)
This commit is contained in:
parent
948bd3673e
commit
68202eb2b7
7 changed files with 20 additions and 20 deletions
|
|
@ -1789,7 +1789,7 @@ void main_window::dropEvent(QDropEvent* event)
|
|||
{
|
||||
const std::string rapname = sstr(QFileInfo(rap).fileName());
|
||||
|
||||
if (!fs::copy_file(sstr(rap), fmt::format("%s/home/%s/exdata/%s", Emu.GetHddDir(), Emu.GetUsr(), rapname), false))
|
||||
if (!fs::copy_file(sstr(rap), Emu.GetHddDir() + "/home/" + Emu.GetUsr() + "/exdata/" + rapname, false))
|
||||
{
|
||||
LOG_WARNING(GENERAL, "Could not copy rap file by drop: %s", rapname);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue