Qt: Fix replaceGame on UTF-8 files
Vicki Pfau vi@endrift.com
Sat, 14 Jul 2018 14:19:16 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/CoreController.cpp
→
src/platform/qt/CoreController.cpp
@@ -593,7 +593,7 @@ }
QString fname = info.canonicalFilePath(); Interrupter interrupter(this); mDirectorySetDetachBase(&m_threadContext.core->dirs); - mCoreLoadFile(m_threadContext.core, fname.toLocal8Bit().constData()); + mCoreLoadFile(m_threadContext.core, fname.toUtf8().constData()); } void CoreController::yankPak() {