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
e1e42788
Commit
e1e42788
authored
Aug 19, 2016
by
Hugo Beauzée-Luyssen
Browse files
Library: Always fetch a clip using a QUuid
parent
211b1358
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Library/Library.cpp
View file @
e1e42788
...
...
@@ -117,15 +117,10 @@ Library::media( qint64 mediaId )
}
Clip
*
Library
::
clip
(
const
Q
String
&
uuid
)
Library
::
clip
(
const
Q
Uuid
&
uuid
)
{
return
m_clips
.
value
(
uuid
);
}
Clip
*
Library
::
clip
(
const
QUuid
&
uuid
)
{
return
clip
(
uuid
.
toString
()
);
}
void
...
...
src/Library/Library.h
View file @
e1e42788
...
...
@@ -61,7 +61,6 @@ public:
* @return The clip if it exists, or nullptr
* This can be any clip, the given UUID doesn't have to refer to a root clip
*/
Clip
*
clip
(
const
QString
&
uuid
);
Clip
*
clip
(
const
QUuid
&
uuid
);
void
clear
();
...
...
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