user-manager: replacing fmt::format with string concat.

(cherry picked from commit 63379afc7a402edb2159912318281febc3e7438a)
This commit is contained in:
mpm11011 2018-06-13 18:11:51 -04:00 committed by Ivan
parent 948bd3673e
commit 68202eb2b7
7 changed files with 20 additions and 20 deletions

View file

@ -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);
}