summaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
authorronso0 <ronso0@mixxx.org>2021-12-30 20:08:02 +0100
committerronso0 <ronso0@mixxx.org>2021-12-30 23:14:55 +0100
commit555455e7e6076a748535276c0c41c2721675b89d (patch)
tree51e7afb7019c1d4b6d59649036bbd46b0fc91f7a /src/mixer
parent9d7ecb5c3c28bb0690638624b2219ee26e18fbd8 (diff)
samplerbank: explain use of QT_TR_NOOP
Co-authored-by: Daniel Schürmann <daschuer@mixxx.org>
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/samplerbank.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mixer/samplerbank.cpp b/src/mixer/samplerbank.cpp
index 4891c8f2db..561237d7a2 100644
--- a/src/mixer/samplerbank.cpp
+++ b/src/mixer/samplerbank.cpp
@@ -16,6 +16,8 @@ namespace {
const ConfigKey kConfigkeyLastImportExportDirectory(
"[Samplers]", "last_import_export_directory");
+// This is used in multiple tr() calls below which accepts const char* as a key.
+// lupdate finds the single string here.
const char kSamplerFileType[] = QT_TR_NOOP("Mixxx Sampler Banks (*.xml)");
} // anonymous namespace