aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r--src/jalv_qt.cpp15
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;