diff options
-rw-r--r-- | .clang-tidy | 2 | ||||
-rw-r--r-- | src/jalv_qt.cpp | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/.clang-tidy b/.clang-tidy index f9549e8..123abfc 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -28,9 +28,7 @@ Checks: > -cppcoreguidelines-pro-type-static-cast-downcast, -fuchsia-default-arguments-calls, -fuchsia-default-arguments-declarations, - -google-explicit-constructor, -google-readability-todo, - -hicpp-explicit-conversions, -hicpp-multiway-paths-covered, -hicpp-signed-bitwise, -llvm-header-guard, diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 2e18446..a31070e 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -70,12 +70,12 @@ static QApplication* app = nullptr; class FlowLayout : public QLayout { public: - FlowLayout(QWidget* parent, - int margin = -1, - int hSpacing = -1, - int vSpacing = -1); + explicit FlowLayout(QWidget* parent, + int margin = -1, + int hSpacing = -1, + int vSpacing = -1); - FlowLayout(int margin = -1, int hSpacing = -1, int vSpacing = -1); + explicit FlowLayout(int margin = -1, int hSpacing = -1, int vSpacing = -1); ~FlowLayout() override; @@ -308,7 +308,7 @@ class Control : public QGroupBox Q_OBJECT public: - Control(PortContainer portContainer, QWidget* parent = nullptr); + explicit Control(PortContainer portContainer, QWidget* parent = nullptr); Q_SLOT void dialChanged(int value); |