diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-07 21:31:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-07 21:31:54 +0000 |
| commit | 470e2f06b4ac98f3d92bc7ed0e28a79532bac903 (patch) | |
| tree | ad297f9051eccf0083a6b50eba6bec42298d8aab /src/tools | |
| parent | e3a55e5f73a55bc9af6226abcd42d58743938a8f (diff) | |
Respect check_for_test_updates option.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 4e23cf09d..111b5769d 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -714,7 +714,11 @@ class App : public wxApp switch (UpdateChecker::instance()->state ()) { case UpdateChecker::YES: { - UpdateDialog* dialog = new UpdateDialog (_frame, UpdateChecker::instance()->stable (), UpdateChecker::instance()->test ()); + string test; + if (Config::instance()->check_for_test_updates ()) { + test = UpdateChecker::instance()->test (); + } + UpdateDialog* dialog = new UpdateDialog (_frame, UpdateChecker::instance()->stable (), test); dialog->ShowModal (); dialog->Destroy (); break; |
