Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
45cbc455
Commit
45cbc455
authored
Aug 31, 2020
by
Jean-Baptiste Mardelle
Browse files
Another attempt to fix
#780
parent
e7e73f9d
Pipeline
#32439
passed with stage
in 28 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
45cbc455
...
...
@@ -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
;
#endif
const
QString
resultScene
=
m_glMonitor
->
sceneList
(
root
,
fullPath
);
#ifdef Q_OS_WIN
::
qputenv
(
"LC_ALL"
,
currentLocale
);
std
::
setlocale
(
LC_ALL
,
currentLocale
);
LocaleHandling
::
resetLocale
();
#endif
...
...
Eugen Mohr
@emohr
mentioned in issue
#781 (closed)
·
Aug 31, 2020
mentioned in issue
#781 (closed)
mentioned in issue #781
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment