Skip to content
GitLab
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
8ced8f54
Commit
8ced8f54
authored
Aug 01, 2022
by
Laurent Montel
Browse files
It's UTF-8 by default in qt6
parent
382ec1a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/model/subtitlemodel.cpp
View file @
8ced8f54
...
...
@@ -171,7 +171,9 @@ void SubtitleModel::importSubtitle(const QString &filePath, int offset, bool ext
stream
.
setCodec
(
inputEncoding
);
}
else
{
qWarning
()
<<
"No QTextCodec named"
<<
encoding
;
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
stream
.
setCodec
(
"UTF-8"
);
#endif
}
QString
line
;
QStringList
srtTime
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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