diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-01 22:41:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-09 17:04:02 +0100 |
| commit | 47d83b296248119d04b9226fd51a67e2fd3faac5 (patch) | |
| tree | d9516f352dc28f1c42cc6e16247295611637ad42 /src/lib/cross_linux.cc | |
| parent | 161f7c27bd1aff63938a9512ab991de886691f97 (diff) | |
Improve ratings dialog to allow only valid values (#2199).
Diffstat (limited to 'src/lib/cross_linux.cc')
| -rw-r--r-- | src/lib/cross_linux.cc | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index 07a70cc0b..14b8c71ba 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -109,22 +109,12 @@ resources_path () boost::filesystem::path -xsd_path () +libdcp_resources_path () { if (auto appdir = getenv("APPDIR")) { - return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp" / "xsd"; + return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp"; } - return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "xsd"; -} - - -boost::filesystem::path -tags_path () -{ - if (auto appdir = getenv("APPDIR")) { - return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp" / "tags"; - } - return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "tags"; + return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp"; } |
