Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Petrovic
kdenlive
Commits
fa6a4660
Commit
fa6a4660
authored
Nov 28, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some unused variable
parent
99a26ddd
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
8 deletions
+0
-8
src/bin/bin.cpp
src/bin/bin.cpp
+0
-1
src/doc/documentchecker.cpp
src/doc/documentchecker.cpp
+0
-1
src/doc/documentvalidator.cpp
src/doc/documentvalidator.cpp
+0
-1
src/effectstack/parametercontainer.cpp
src/effectstack/parametercontainer.cpp
+0
-1
src/mainwindow.cpp
src/mainwindow.cpp
+0
-2
src/monitor/recmanager.cpp
src/monitor/recmanager.cpp
+0
-1
src/project/clipstabilize.cpp
src/project/clipstabilize.cpp
+0
-1
No files found.
src/bin/bin.cpp
View file @
fa6a4660
...
@@ -2742,7 +2742,6 @@ void Bin::loadSubClips(const QString&id, const QMap <QString,QString> data)
...
@@ -2742,7 +2742,6 @@ void Bin::loadSubClips(const QString&id, const QMap <QString,QString> data)
// Problem, the zone has no in/out points
// Problem, the zone has no in/out points
continue
;
continue
;
}
}
QImage
img
;
int
in
=
i
.
value
().
section
(
QLatin1Char
(
';'
),
0
,
0
).
toInt
();
int
in
=
i
.
value
().
section
(
QLatin1Char
(
';'
),
0
,
0
).
toInt
();
int
out
=
i
.
value
().
section
(
QLatin1Char
(
';'
),
1
,
1
).
toInt
();
int
out
=
i
.
value
().
section
(
QLatin1Char
(
';'
),
1
,
1
).
toInt
();
if
(
maxFrame
>
0
)
if
(
maxFrame
>
0
)
...
...
src/doc/documentchecker.cpp
View file @
fa6a4660
...
@@ -442,7 +442,6 @@ bool DocumentChecker::hasErrorInClips()
...
@@ -442,7 +442,6 @@ bool DocumentChecker::hasErrorInClips()
item
->
setToolTip
(
0
,
i18n
(
"Missing source clip"
));
item
->
setToolTip
(
0
,
i18n
(
"Missing source clip"
));
for
(
int
i
=
0
;
i
<
max
;
++
i
)
{
for
(
int
i
=
0
;
i
<
max
;
++
i
)
{
e
=
missingSources
.
at
(
i
).
toElement
();
e
=
missingSources
.
at
(
i
).
toElement
();
QString
clipType
;
QString
realPath
=
EffectsList
::
property
(
e
,
QStringLiteral
(
"kdenlive:originalurl"
));
QString
realPath
=
EffectsList
::
property
(
e
,
QStringLiteral
(
"kdenlive:originalurl"
));
QString
id
=
e
.
attribute
(
QStringLiteral
(
"id"
));
QString
id
=
e
.
attribute
(
QStringLiteral
(
"id"
));
// Tell Kdenlive the source is missing
// Tell Kdenlive the source is missing
...
...
src/doc/documentvalidator.cpp
View file @
fa6a4660
...
@@ -555,7 +555,6 @@ bool DocumentValidator::upgrade(double version, const double currentVersion)
...
@@ -555,7 +555,6 @@ bool DocumentValidator::upgrade(double version, const double currentVersion)
QDomNodeList
objects
=
titleclip
.
childNodes
();
QDomNodeList
objects
=
titleclip
.
childNodes
();
int
maxchild
=
objects
.
count
();
int
maxchild
=
objects
.
count
();
for
(
int
k
=
0
;
k
<
maxchild
;
++
k
)
{
for
(
int
k
=
0
;
k
<
maxchild
;
++
k
)
{
QString
objectxml
;
QDomElement
ob
=
objects
.
at
(
k
).
toElement
();
QDomElement
ob
=
objects
.
at
(
k
).
toElement
();
if
(
ob
.
attribute
(
QStringLiteral
(
"type"
))
==
QLatin1String
(
"3"
))
{
if
(
ob
.
attribute
(
QStringLiteral
(
"type"
))
==
QLatin1String
(
"3"
))
{
// text object - all of this goes into "xmldata"...
// text object - all of this goes into "xmldata"...
...
...
src/effectstack/parametercontainer.cpp
View file @
fa6a4660
...
@@ -1265,7 +1265,6 @@ void ParameterContainer::slotStartFilterJobAction()
...
@@ -1265,7 +1265,6 @@ void ParameterContainer::slotStartFilterJobAction()
EffectsParameterList
parameters
;
EffectsParameterList
parameters
;
QDomNodeList
params
=
m_effect
.
elementsByTagName
(
QStringLiteral
(
"parameter"
));
QDomNodeList
params
=
m_effect
.
elementsByTagName
(
QStringLiteral
(
"parameter"
));
EffectsController
::
adjustEffectParameters
(
parameters
,
params
,
m_metaInfo
->
monitor
->
profileInfo
());
EffectsController
::
adjustEffectParameters
(
parameters
,
params
,
m_metaInfo
->
monitor
->
profileInfo
());
QString
paramData
;
for
(
int
j
=
0
;
j
<
parameters
.
count
();
++
j
)
{
for
(
int
j
=
0
;
j
<
parameters
.
count
();
++
j
)
{
filterParams
.
insert
(
parameters
.
at
(
j
).
name
(),
parameters
.
at
(
j
).
value
());
filterParams
.
insert
(
parameters
.
at
(
j
).
name
(),
parameters
.
at
(
j
).
value
());
}
}
...
...
src/mainwindow.cpp
View file @
fa6a4660
...
@@ -3230,7 +3230,6 @@ void MainWindow::slotTranscode(const QStringList &urls)
...
@@ -3230,7 +3230,6 @@ void MainWindow::slotTranscode(const QStringList &urls)
{
{
QString
params
;
QString
params
;
QString
desc
;
QString
desc
;
QString
condition
;
if
(
urls
.
isEmpty
())
{
if
(
urls
.
isEmpty
())
{
QAction
*
action
=
qobject_cast
<
QAction
*>
(
sender
());
QAction
*
action
=
qobject_cast
<
QAction
*>
(
sender
());
QStringList
data
=
action
->
data
().
toStringList
();
QStringList
data
=
action
->
data
().
toStringList
();
...
@@ -3327,7 +3326,6 @@ void MainWindow::slotPrepareRendering(bool scriptExport, bool zoneOnly, const QS
...
@@ -3327,7 +3326,6 @@ void MainWindow::slotPrepareRendering(bool scriptExport, bool zoneOnly, const QS
QMap
<
double
,
QString
>
guidesData
=
pCore
->
projectManager
()
->
currentTimeline
()
->
projectView
()
->
guidesData
();
QMap
<
double
,
QString
>
guidesData
=
pCore
->
projectManager
()
->
currentTimeline
()
->
projectView
()
->
guidesData
();
QMapIterator
<
double
,
QString
>
g
(
guidesData
);
QMapIterator
<
double
,
QString
>
g
(
guidesData
);
QLocale
locale
;
while
(
g
.
hasNext
())
{
while
(
g
.
hasNext
())
{
g
.
next
();
g
.
next
();
int
time
=
(
int
)
GenTime
(
g
.
key
()).
frames
(
project
->
fps
());
int
time
=
(
int
)
GenTime
(
g
.
key
()).
frames
(
project
->
fps
());
...
...
src/monitor/recmanager.cpp
View file @
fa6a4660
...
@@ -242,7 +242,6 @@ void RecManager::slotRecord(bool record)
...
@@ -242,7 +242,6 @@ void RecManager::slotRecord(bool record)
++
i
;
++
i
;
}
}
m_captureFile
=
QUrl
::
fromLocalFile
(
path
);
m_captureFile
=
QUrl
::
fromLocalFile
(
path
);
QString
args
;
QString
captureSize
;
QString
captureSize
;
int
screen
=
-
1
;
int
screen
=
-
1
;
if
(
m_screenCombo
)
{
if
(
m_screenCombo
)
{
...
...
src/project/clipstabilize.cpp
View file @
fa6a4660
...
@@ -49,7 +49,6 @@ ClipStabilize::ClipStabilize(const QStringList &urls, const QString &filterName,
...
@@ -49,7 +49,6 @@ ClipStabilize::ClipStabilize(const QStringList &urls, const QString &filterName,
if
(
m_urls
.
count
()
==
1
)
{
if
(
m_urls
.
count
()
==
1
)
{
QString
newFile
=
m_urls
.
first
();
QString
newFile
=
m_urls
.
first
();
newFile
.
append
(
".mlt"
);
newFile
.
append
(
".mlt"
);
QUrl
dest
(
newFile
);
dest_url
->
setMode
(
KFile
::
File
);
dest_url
->
setMode
(
KFile
::
File
);
dest_url
->
setUrl
(
QUrl
(
newFile
));
dest_url
->
setUrl
(
QUrl
(
newFile
));
}
else
{
}
else
{
...
...
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