aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-17 17:59:48 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:07:21 -0500
commit30ec5250ca9963ecbab37a6103fdbd2ea0fcdc90 (patch)
tree960648ac973fd6f96ab1d53518c0934eae112c4a /src/jalv_qt.cpp
parente00df6c4764e2eb0fcef8bbe2b052680cd8fb02a (diff)
downloadjalv-30ec5250ca9963ecbab37a6103fdbd2ea0fcdc90.tar.gz
jalv-30ec5250ca9963ecbab37a6103fdbd2ea0fcdc90.tar.bz2
jalv-30ec5250ca9963ecbab37a6103fdbd2ea0fcdc90.zip
Move general model query functions to a separate file
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r--src/jalv_qt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index 2718da8..7761f10 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -7,6 +7,7 @@
#include "nodes.h"
#include "options.h"
#include "port.h"
+#include "query.h"
#include "lilv/lilv.h"
#include "suil/suil.h"
@@ -699,7 +700,7 @@ jalv_frontend_open(Jalv* jalv)
jalv_init_ui(jalv);
win->show();
- if (jalv->ui_instance && !jalv_ui_is_resizable(jalv)) {
+ if (jalv->ui_instance && !jalv_ui_is_resizable(jalv->world, jalv->ui)) {
widget->setMinimumSize(widget->width(), widget->height());
widget->setMaximumSize(widget->width(), widget->height());
win->adjustSize();