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
d901abe7
Commit
d901abe7
authored
Apr 03, 2022
by
Jean-Baptiste Mardelle
Browse files
Code quality fixes
parent
79eade13
Pipeline
#158713
canceled with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
renderer/kdenlive_render.cpp
View file @
d901abe7
...
...
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
}
// Do we want a split render
if
(
args
.
count
()
>
0
&&
args
.
at
(
0
)
==
QLatin1String
(
"-split"
))
{
if
(
args
.
count
()
>
5
&&
args
.
at
(
0
)
==
QLatin1String
(
"-split"
))
{
args
.
removeFirst
();
// chunks to render
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
...
...
src/bin/abstractprojectitem.cpp
View file @
d901abe7
...
...
@@ -30,6 +30,7 @@ AbstractProjectItem::AbstractProjectItem(PROJECTITEMTYPE type, QString id, const
,
m_date
()
,
m_binId
(
std
::
move
(
id
))
,
m_usage
(
0
)
,
m_AudioUsage
(
0
)
,
m_rating
(
0
)
,
m_clipStatus
(
FileStatus
::
StatusReady
)
,
m_itemType
(
type
)
...
...
src/bin/model/subtitlemodel.cpp
View file @
d901abe7
...
...
@@ -228,7 +228,7 @@ void SubtitleModel::importSubtitle(const QString &filePath, int offset, bool ext
end
.
clear
();
comment
.
clear
();
QStringList
dialogue
=
line
.
section
(
":"
,
1
).
split
(
QLatin1Char
(
','
));
if
(
dialogue
.
count
()
>
=
textIndex
)
{
if
(
dialogue
.
count
()
>
textIndex
)
{
//TIME
start
=
dialogue
.
at
(
1
);
startPos
=
stringtoTime
(
start
);
...
...
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