Skip to content

Commit

Permalink
Make use of QStringLiteral in dlgprefeq.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Oct 24, 2021
1 parent 50b1b63 commit f5833f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/preferences/dialog/dlgprefeq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
#include "moc_dlgprefeq.cpp"

namespace {
const QString kConfigKey = "[Mixer Profile]";
const QString kEffectForGroupPrefix = "EffectForGroup_";
const QString kEnableEqs = "EnableEQs";
const QString kEqsOnly = "EQsOnly";
const QString kSingleEq = "SingleEQEffect";
const QString kConfigKey = QStringLiteral("[Mixer Profile]");
const QString kEffectForGroupPrefix = QStringLiteral("EffectForGroup_");
const QString kEnableEqs = QStringLiteral("EnableEQs");
const QString kEqsOnly = QStringLiteral("EQsOnly");
const QString kSingleEq = QStringLiteral("SingleEQEffect");
const QString kDefaultEqId = BiquadFullKillEQEffect::getId() + " " +
EffectsBackend::backendTypeToString(EffectBackendType::BuiltIn);
const QString kDefaultMainEqId = QString();
Expand All @@ -40,8 +40,8 @@ DlgPrefEQ::DlgPrefEQ(
std::shared_ptr<EffectsManager> pEffectsManager,
UserSettingsPointer pConfig)
: DlgPreferencePage(pParent),
m_COLoFreq(kConfigKey, "LoEQFrequency"),
m_COHiFreq(kConfigKey, "HiEQFrequency"),
m_COLoFreq(kConfigKey, QStringLiteral("LoEQFrequency")),
m_COHiFreq(kConfigKey, QStringLiteral("HiEQFrequency")),
m_pConfig(pConfig),
m_lowEqFreq(0.0),
m_highEqFreq(0.0),
Expand Down

0 comments on commit f5833f0

Please sign in to comment.