More enum class additions.
[dcpomatic.git] / src / tools / dcpomatic.cc
index 78466d25baabbc4c112fe969ba3f726ac587fad0..a670af7dbb7b87396aaca76f9b69e32b3409524d 100644 (file)
@@ -512,7 +512,7 @@ private:
 
        void film_change (ChangeType type)
        {
-               if (type == CHANGE_TYPE_DONE) {
+               if (type == ChangeType::DONE) {
                        set_menu_sensitivity ();
                }
        }
@@ -1118,7 +1118,7 @@ private:
                        }
                        list<string> to = { "carl@dcpomatic.com" };
                        Emailer emailer (d->email(), to, "DCP-o-matic translations", body);
-                       emailer.send ("main.carlh.net", 2525, EMAIL_PROTOCOL_STARTTLS);
+                       emailer.send ("main.carlh.net", 2525, EmailProtocol::STARTTLS);
                }
 
                d->Destroy ();