Permalink
Browse files
Qt: Fix replaceGame on UTF-8 files
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/platform/qt/CoreController.cpp
|
|
@@ -593,7 +593,7 @@ void CoreController::replaceGame(const QString& path) { |
|
|
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() {
|
|
|
|
0 comments on commit
559ac94