Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
90b5f6b5
Commit
90b5f6b5
authored
Jan 14, 2010
by
Hugo Beauzee-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless method.
parent
d7b92588
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
src/Workflow/TrackWorkflow.cpp
src/Workflow/TrackWorkflow.cpp
+2
-9
src/Workflow/TrackWorkflow.h
src/Workflow/TrackWorkflow.h
+0
-1
No files found.
src/Workflow/TrackWorkflow.cpp
View file @
90b5f6b5
...
...
@@ -346,7 +346,7 @@ Clip* TrackWorkflow::removeClip( const QUuid& id )
m_clips
.
erase
(
it
);
stopClipWorkflow
(
cw
);
computeLength
();
disconnect
ClipWorkflow
(
cw
);
cw
->
disconnect
(
);
delete
cw
;
if
(
m_length
==
0
)
emit
trackEndReached
(
m_trackId
);
...
...
@@ -369,7 +369,7 @@ ClipWorkflow* TrackWorkflow::removeClipWorkflow( const QUuid& id )
if
(
it
.
value
()
->
getClip
()
->
getUuid
()
==
id
)
{
ClipWorkflow
*
cw
=
it
.
value
();
disconnect
ClipWorkflow
(
cw
);
cw
->
disconnect
(
);
m_clips
.
erase
(
it
);
computeLength
();
return
cw
;
...
...
@@ -461,13 +461,6 @@ void TrackWorkflow::adjustClipTime( qint64 currentFrame, qint64 start, ClipWo
cw
->
setTime
(
startFrame
);
}
void
TrackWorkflow
::
disconnectClipWorkflow
(
ClipWorkflow
*
cw
)
{
disconnect
(
cw
,
SIGNAL
(
renderComplete
(
ClipWorkflow
*
)
),
this
,
SLOT
(
clipWorkflowRenderCompleted
(
ClipWorkflow
*
)
)
);
disconnect
(
cw
,
SIGNAL
(
paused
()
),
this
,
SLOT
(
clipWorkflowPaused
()
)
);
disconnect
(
cw
,
SIGNAL
(
unpaused
()
),
this
,
SLOT
(
clipWorkflowUnpaused
()
)
);
}
void
TrackWorkflow
::
forceRepositionning
()
{
QMutexLocker
lock
(
m_forceRepositionningMutex
);
...
...
src/Workflow/TrackWorkflow.h
View file @
90b5f6b5
...
...
@@ -88,7 +88,6 @@ class TrackWorkflow : public QObject
void
stopClipWorkflow
(
ClipWorkflow
*
cw
);
bool
checkEnd
(
qint64
currentFrame
)
const
;
void
adjustClipTime
(
qint64
currentFrame
,
qint64
start
,
ClipWorkflow
*
cw
);
void
disconnectClipWorkflow
(
ClipWorkflow
*
cw
);
void
releasePreviousRender
();
...
...
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