diff options
author | David Robillard <d@drobilla.net> | 2020-12-14 16:44:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-14 16:44:45 +0100 |
commit | c792383fca1a7d51a093c98434540bdaec92d27c (patch) | |
tree | ad7d12e754ee33bd13774fb92a7971e0223e9633 /src | |
parent | 48e892408869b63ed5c25d4c7f7f6aa2b22912aa (diff) | |
download | jalv-c792383fca1a7d51a093c98434540bdaec92d27c.tar.gz jalv-c792383fca1a7d51a093c98434540bdaec92d27c.tar.bz2 jalv-c792383fca1a7d51a093c98434540bdaec92d27c.zip |
Add missing member initialization
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_qt.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
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; |