Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
bbbbb509
Commit
bbbbb509
authored
Aug 03, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing fix for FreeBSD in last commit (fix broken localization)
parent
5aa1aea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/localeHandling.cpp
src/lib/localeHandling.cpp
+1
-1
No files found.
src/lib/localeHandling.cpp
View file @
bbbbb509
...
...
@@ -21,7 +21,7 @@ auto LocaleHandling::setLocale(const QString &lcName) -> QString
localesToTest
<<
lcName
<<
lcName
+
".utf-8"
<<
lcName
+
".UTF-8"
<<
lcName
+
".utf8"
<<
lcName
+
".UTF8"
;
for
(
const
auto
&
locale
:
localesToTest
)
{
#ifdef Q_OS_FREEBSD
auto
*
result
=
setlocale
(
LC_
ALL
,
locale
.
toStdString
().
c_str
());
auto
*
result
=
setlocale
(
LC_
NUMERIC
,
locale
.
toStdString
().
c_str
());
#else
auto
*
result
=
std
::
setlocale
(
LC_NUMERIC
,
locale
.
toStdString
().
c_str
());
#endif
...
...
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