Fix (I think) some strange situations where ::get() on dialogs
[dcpomatic.git] / src / wx / rating_dialog.h
index 66a93305a865df091352a95cfedc1f44feb77331..97a56f52ec6c66fd8686e89e451282a03bde548d 100644 (file)
@@ -90,7 +90,7 @@ public:
        RatingDialog (wxWindow* parent);
 
        void set (dcp::Rating r);
-       dcp::Rating get () const;
+       boost::optional<dcp::Rating> get () const;
 
 private:
        void setup_sensitivity (bool ok_valid);