Naming tweak.
authorCarl Hetherington <cth@carlh.net>
Tue, 19 Nov 2019 16:13:25 +0000 (17:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 8 Jan 2020 20:56:47 +0000 (21:56 +0100)
src/lib/film.cc
src/lib/playlist.cc
src/lib/playlist.h

index aa71834..90b18ea 100644 (file)
@@ -167,7 +167,7 @@ Film::Film (optional<boost::filesystem::path> dir)
        set_isdcf_date_today ();
 
        _playlist_change_connection = _playlist->Change.connect (bind (&Film::playlist_change, this, _1));
-       _playlist_order_changed_connection = _playlist->OrderChanged.connect (bind (&Film::playlist_order_changed, this));
+       _playlist_order_changed_connection = _playlist->OrderChange.connect (bind (&Film::playlist_order_changed, this));
        _playlist_content_change_connection = _playlist->ContentChange.connect (bind (&Film::playlist_content_change, this, _1, _2, _3, _4));
        _playlist_length_change_connection = _playlist->LengthChange.connect (bind(&Film::playlist_length_change, this));
 
index 73a3214..48053bb 100644 (file)
@@ -111,7 +111,7 @@ Playlist::content_change (weak_ptr<const Film> weak_film, ChangeType type, weak_
                        }
 
                        if (changed) {
-                               OrderChanged ();
+                               OrderChange ();
                        }
 
                        /* The length might have changed, and that's good enough for this signal */
index b6e23b4..dc984aa 100644 (file)
@@ -77,7 +77,7 @@ public:
 
        /** Emitted when content has been added to or removed from the playlist; implies OrderChanged */
        mutable boost::signals2::signal<void (ChangeType)> Change;
-       mutable boost::signals2::signal<void ()> OrderChanged;
+       mutable boost::signals2::signal<void ()> OrderChange;
        /** Emitted when the length might have changed; may sometimes be emitted when it has not */
        mutable boost::signals2::signal<void ()> LengthChange;