From bdf1f3f3e6116c5e425ce04873be49369653e0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Tue, 3 Oct 2023 08:00:05 +0200 Subject: [PATCH] Add missing namespace closing comments to fix clang-tidy [google-readability-namespace-comments] --- src/library/librarycontrol.cpp | 2 +- src/skin/skincontrols.cpp | 2 +- src/vinylcontrol/vinylcontrolmanager.cpp | 2 +- src/waveform/renderers/waveformrenderersignalbase.cpp | 2 +- src/widget/hexspinbox.cpp | 2 +- src/widget/wbeatspinbox.cpp | 2 +- src/widget/wtrackmenu.cpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/library/librarycontrol.cpp b/src/library/librarycontrol.cpp index 71b1ffee56b..29010554fce 100644 --- a/src/library/librarycontrol.cpp +++ b/src/library/librarycontrol.cpp @@ -21,7 +21,7 @@ namespace { const QString kAppGroup = QStringLiteral("[App]"); -} +} // namespace LoadToGroupController::LoadToGroupController(LibraryControl* pParent, const QString& group) : QObject(pParent), diff --git a/src/skin/skincontrols.cpp b/src/skin/skincontrols.cpp index 62bddcbfea8..45e0935c16b 100644 --- a/src/skin/skincontrols.cpp +++ b/src/skin/skincontrols.cpp @@ -4,7 +4,7 @@ namespace { const QString kSkinGroup = QStringLiteral("[Skin]"); -} +} // namespace SkinControls::SkinControls() : m_showEffectRack(ConfigKey(kSkinGroup, QStringLiteral("show_effectrack")), diff --git a/src/vinylcontrol/vinylcontrolmanager.cpp b/src/vinylcontrol/vinylcontrolmanager.cpp index d35ae0e1522..cea9edc958d 100644 --- a/src/vinylcontrol/vinylcontrolmanager.cpp +++ b/src/vinylcontrol/vinylcontrolmanager.cpp @@ -15,7 +15,7 @@ namespace { const QRegularExpression kChannelRegex(QStringLiteral("\\[Channel([1-9]\\d*)\\]")); -} +} // namespace VinylControlManager::VinylControlManager(QObject* pParent, UserSettingsPointer pConfig, diff --git a/src/waveform/renderers/waveformrenderersignalbase.cpp b/src/waveform/renderers/waveformrenderersignalbase.cpp index 434c449c21c..08eda6de9c8 100644 --- a/src/waveform/renderers/waveformrenderersignalbase.cpp +++ b/src/waveform/renderers/waveformrenderersignalbase.cpp @@ -12,7 +12,7 @@ namespace { const QString kEffectGroupFormat = QStringLiteral("[EqualizerRack1_%1_Effect1]"); -} +} // namespace WaveformRendererSignalBase::WaveformRendererSignalBase( WaveformWidgetRenderer* waveformWidgetRenderer) diff --git a/src/widget/hexspinbox.cpp b/src/widget/hexspinbox.cpp index 35fd6ca4300..7c5fac1590c 100644 --- a/src/widget/hexspinbox.cpp +++ b/src/widget/hexspinbox.cpp @@ -4,7 +4,7 @@ namespace { const QRegularExpression kValidationRegex(QStringLiteral("^0(x|X)[0-9A-Fa-f]+")); -} +} // namespace HexSpinBox::HexSpinBox(QWidget* pParent) : QSpinBox(pParent) { diff --git a/src/widget/wbeatspinbox.cpp b/src/widget/wbeatspinbox.cpp index 0c990de0cb8..5a81465a53b 100644 --- a/src/widget/wbeatspinbox.cpp +++ b/src/widget/wbeatspinbox.cpp @@ -11,7 +11,7 @@ namespace { const QRegularExpression kBlockListRegex(QStringLiteral("[^0-9.,/ ]")); -} +} // namespace WBeatSpinBox::WBeatSpinBox(QWidget* parent, const ConfigKey& configKey, diff --git a/src/widget/wtrackmenu.cpp b/src/widget/wtrackmenu.cpp index 30f2ab79c8b..a4aa90a63ee 100644 --- a/src/widget/wtrackmenu.cpp +++ b/src/widget/wtrackmenu.cpp @@ -53,7 +53,7 @@ namespace { const QString kAppGroup = QStringLiteral("[App]"); -} +} // namespace WTrackMenu::WTrackMenu( QWidget* parent,