Commit 45cbc455 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Another attempt to fix #780

parent e7e73f9d
Pipeline #32439 passed with stage
in 28 minutes and 9 seconds
......@@ -1697,10 +1697,12 @@ const QString Monitor::sceneList(const QString &root, const QString &fullPath)
#ifdef Q_OS_WIN
auto currentLocale = strdup(setlocale(LC_ALL, nullptr));
std::setlocale(LC_ALL, "C");
::qputenv("LC_ALL", "C");
qDebug() << "Current locale is " << currentLocale;
const QString resultScene = m_glMonitor->sceneList(root, fullPath);
#ifdef Q_OS_WIN
::qputenv("LC_ALL", currentLocale);
std::setlocale(LC_ALL, currentLocale);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment