Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
20fb83e0
Commit
20fb83e0
authored
Sep 08, 2009
by
Hugo Beauzee-Luyssen
Browse files
Here is the nasty patch evoqued in
aedff2bc
parent
f90c5278
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GUI/TracksView.cpp
View file @
20fb83e0
...
...
@@ -130,6 +130,14 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, qint64 start )
{
Q_ASSERT
(
clip
);
//nasty temporary fix:
if
(
track
>
m_numVideoTrack
)
{
unsigned
int
nbTrackToAdd
=
track
-
m_numVideoTrack
;
for
(
unsigned
int
i
=
0
;
i
<
nbTrackToAdd
;
++
i
)
addVideoTrack
();
}
// Is the clip already existing in the timeline ?
//TODO: please optimize me!
QList
<
QGraphicsItem
*>
sceneItems
=
m_scene
->
items
();
...
...
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