fix: Explicitly convert path to string for crash file (#1102)
This commit is contained in:
parent
79306fa6e1
commit
7d457998d7
@ -47,8 +47,8 @@ namespace hex {
|
||||
|
||||
static void saveCrashFile(){
|
||||
nlohmann::json crashData{
|
||||
{"logFile", hex::log::getFile().getPath()},
|
||||
{"project", ProjectFile::getPath()},
|
||||
{"logFile", wolv::util::toUTF8String(hex::log::getFile().getPath())},
|
||||
{"project", wolv::util::toUTF8String(ProjectFile::getPath())},
|
||||
};
|
||||
|
||||
for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Config)) {
|
||||
|
Loading…
Reference in New Issue
Block a user