summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-23 00:07:35 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-23 00:07:35 +0000
commit4f47104941f57dda9994d45bfebbcfedd3db2e84 (patch)
treef8ddab193d585f3d6d885e70bb4973100a9c8dc4 /src
parentb73576594b252e033539bec964d72403d3775585 (diff)
swaroop: don't save history.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_player.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index b39e59d6b..f07b7c3aa 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -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()));
}