Assorted C++11 tidying.
[dcpomatic.git] / src / tools / dcpomatic_player.cc
index ea73511578397f287c82679ac85ab29b93b2073d..72ac93cc75a48716782f2ef57c2df206607a17f5 100644 (file)
@@ -873,11 +873,11 @@ private:
                        return;
                }
 
-               if (uc->state() == UpdateChecker::YES) {
+               if (uc->state() == UpdateChecker::State::YES) {
                        auto dialog = new UpdateDialog (this, uc->stable (), uc->test ());
                        dialog->ShowModal ();
                        dialog->Destroy ();
-               } else if (uc->state() == UpdateChecker::FAILED) {
+               } else if (uc->state() == UpdateChecker::State::FAILED) {
                        error_dialog (this, _("The DCP-o-matic download server could not be contacted."));
                } else {
                        error_dialog (this, _("There are no new versions of DCP-o-matic available."));