swaroop: don't save history.
authorCarl Hetherington <cth@carlh.net>
Sun, 23 Dec 2018 00:07:35 +0000 (00:07 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 23 Dec 2018 00:07:35 +0000 (00:07 +0000)
src/tools/dcpomatic_player.cc

index b39e59d..f07b7c3 100644 (file)
@@ -383,7 +383,9 @@ public:
                        if (!ok || !report_errors_from_last_job(this)) {
                                return;
                        }
+#ifndef DCPOMATIC_VARIANT_SWAROOP
                        Config::instance()->add_to_player_history (dir);
+#endif
                } catch (dcp::DCPReadError& e) {
                        error_dialog (this, wxString::Format(_("Could not load a DCP from %s"), std_to_wx(dir.string())), std_to_wx(e.what()));
                }