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
fd3336be
Commit
fd3336be
authored
Sep 09, 2009
by
Ludovic Fauvet
Browse files
Remove warning
parent
92f72f70
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/GUI/TracksView.cpp
View file @
fd3336be
...
...
@@ -131,7 +131,7 @@ void TracksView::addMediaItem( Clip* clip, unsigned int track, qint64 start )
Q_ASSERT
(
clip
);
//nasty temporary fix:
if
(
track
>
m_numVideoTrack
)
if
(
track
>
(
quint32
)
m_numVideoTrack
)
{
unsigned
int
nbTrackToAdd
=
track
-
m_numVideoTrack
;
for
(
unsigned
int
i
=
0
;
i
<
nbTrackToAdd
;
++
i
)
...
...
src/Media/Clip.cpp
View file @
fd3336be
...
...
@@ -64,6 +64,7 @@ Clip::Clip( const QUuid& uuid, float begin, float end ) :
m_begin
(
begin
),
m_end
(
1.0
f
)
{
Q_UNUSED
(
end
);
Media
*
media
=
Library
::
getInstance
()
->
getMedia
(
uuid
);
Q_ASSERT
(
media
!=
NULL
);
m_parent
=
media
;
...
...
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