projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9525e77
)
Fix initial display of viewer image.
author
Carl Hetherington
<cth@carlh.net>
Sun, 28 Apr 2013 21:50:00 +0000
(22:50 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 28 Apr 2013 21:50:00 +0000
(22:50 +0100)
src/lib/playlist.cc
patch
|
blob
|
history
diff --git
a/src/lib/playlist.cc
b/src/lib/playlist.cc
index 216244bd0ef309fd470de5c25744136b06b2ecd3..72745f2208435e31e69964e8a16eba1c948d756d 100644
(file)
--- a/
src/lib/playlist.cc
+++ b/
src/lib/playlist.cc
@@
-103,8
+103,6
@@
Playlist::setup ()
_content_connections.push_back ((*i)->Changed.connect (bind (&Playlist::content_changed, this, _1, _2)));
}
-
- Changed ();
}
/** @return Length of our audio */
@@
-328,6
+326,8
@@
Playlist::set_from_xml (shared_ptr<const cxml::Node> node)
}
_loop = node->number_child<int> ("Loop");
+
+ setup ();
}
void
@@
-345,6
+345,7
@@
Playlist::add (shared_ptr<Content> c)
{
_content.push_back (c);
setup ();
+ Changed ();
}
void
@@
-356,6
+357,7
@@
Playlist::remove (shared_ptr<Content> c)
}
setup ();
+ Changed ();
}
void
@@
-372,6
+374,7
@@
Playlist::move_earlier (shared_ptr<Content> c)
swap (*i, *j);
setup ();
+ Changed ();
}
void
@@
-391,6
+394,7
@@
Playlist::move_later (shared_ptr<Content> c)
swap (*i, *j);
setup ();
+ Changed ();
}
void