Assorted C++11 tidying.
[dcpomatic.git] / src / tools / dcpomatic.cc
index 559853c40bbd503a80e3ccda419acbffc5a4c3f9..be172ed2d0e29b5ec27af78a0f0630704d0eebc4 100644 (file)
@@ -1468,11 +1468,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."));