Fix various misbehaviours with update checking (#749).
[dcpomatic.git] / src / lib / update_checker.h
index b0eb62273719ecab4bda6231066ac982ae3863ee..ff1999810404822f916f07006bc0b49b5f84a6e1 100644 (file)
@@ -57,18 +57,12 @@ public:
                return _stable;
        }
 
-       /** @return new test version, if there is one and Config is set to look for it */
+       /** @return new test version, if there is one */
        boost::optional<std::string> test () {
                boost::mutex::scoped_lock lm (_data_mutex);
                return _test;
        }
 
-       /** @return true if the last signal emission was the first */
-       bool last_emit_was_first () const {
-               boost::mutex::scoped_lock lm (_data_mutex);
-               return _emits == 1;
-       }
-
        size_t write_callback (void *, size_t, size_t);
 
        boost::signals2::signal<void (void)> StateChanged;