diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-26 00:29:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-26 00:29:07 +0100 |
| commit | 2f665a14eb8322f2d7872d76741188ddfd7af4f5 (patch) | |
| tree | 58c0f60663591d35039c807362afc29d7bedb883 /src/tools | |
| parent | dd626169d9d023f8102f56f2f337ca91b62702dc (diff) | |
Stop the player looking for encode servers (#1119).
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 1dcf6a0d9..a0221424e 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -23,7 +23,6 @@ #include "lib/util.h" #include "lib/update_checker.h" #include "lib/compose.hpp" -#include "lib/encode_server_finder.h" #include "lib/dcp_content.h" #include "lib/job_manager.h" #include "lib/job.h" @@ -468,10 +467,6 @@ private: Bind (wxEVT_IDLE, boost::bind (&App::idle, this)); - Bind (wxEVT_TIMER, boost::bind (&App::check, this)); - _timer.reset (new wxTimer (this)); - _timer->Start (1000); - if (Config::instance()->check_for_updates ()) { UpdateChecker::instance()->run (); } @@ -543,22 +538,12 @@ private: signal_manager->ui_idle (); } - void check () - { - try { - EncodeServerFinder::instance()->rethrow (); - } catch (exception& e) { - error_dialog (0, std_to_wx (e.what ())); - } - } - void config_failed_to_load () { message_dialog (_frame, _("The existing configuration failed to load. Default values will be used instead. These may take a short time to create.")); } DOMFrame* _frame; - shared_ptr<wxTimer> _timer; string _dcp_to_load; }; |
