diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/jalv_qt.cpp | 15 |
2 files changed, 10 insertions, 6 deletions
diff --git a/.clang-tidy b/.clang-tidy index ff801f8..1ee2334 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -3,7 +3,6 @@ Checks: > -*-deprecated-headers, -*-else-after-return, -*-magic-numbers, - -*-member-init, -*-named-parameter, -*-narrowing-conversions, -*-non-private-member-variables-in-classes, diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 37e3bfa..6ebef60 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -417,11 +417,16 @@ add_preset_to_menu(Jalv* jalv, } Control::Control(PortContainer portContainer, QWidget* parent) - : QGroupBox(parent) - , dial(new QDial()) - , plugin(portContainer.jalv->plugin) - , port(portContainer.port) - , label(new QLabel()) + : QGroupBox(parent) + , dial(new QDial()) + , plugin(portContainer.jalv->plugin) + , port(portContainer.port) + , label(new QLabel()) + , max(1.0f) + , min(0.0f) + , isInteger(false) + , isEnum(false) + , isLogarithmic(false) { JalvNodes* nodes = &portContainer.jalv->nodes; const LilvPort* lilvPort = port->lilv_port; |