projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a vector rather than a list when returning from content_factory().
[dcpomatic.git]
/
src
/
wx
/
content_view.cc
diff --git
a/src/wx/content_view.cc
b/src/wx/content_view.cc
index 80256987971e654e6e1bdeb49c193e5cc94de80d..95b481e0b75d5a74a56b1d5f4a0decadd44c7898 100644
(file)
--- a/
src/wx/content_view.cc
+++ b/
src/wx/content_view.cc
@@
-99,7
+99,7
@@
ContentView::update ()
} else if (i.path().extension() == ".mp4") {
auto all_content = content_factory(i);
if (!all_content.empty()) {
- content = all_content
.front()
;
+ content = all_content
[0]
;
}
}