aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_qt.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-27 11:36:09 -0500
committerDavid Robillard <d@drobilla.net>2018-12-27 11:36:09 -0500
commit8311df91cc212adf3220acfcb50ab63414fe9dd6 (patch)
tree33cff10eabf06ba7f53828d77b742b8d6e5bbb37 /src/jalv_qt.cpp
parent566d380c32d3211517263e221d0903ca7533848b (diff)
downloadjalv-8311df91cc212adf3220acfcb50ab63414fe9dd6.tar.gz
jalv-8311df91cc212adf3220acfcb50ab63414fe9dd6.tar.bz2
jalv-8311df91cc212adf3220acfcb50ab63414fe9dd6.zip
Remove unused jalv_ui_resize()
This function was added many years ago to support the UI resize feature, but has been dead code for a long time and nobody seems to have noticed, so it can't be that important.
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r--src/jalv_qt.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp
index 582361f..e9d2121 100644
--- a/src/jalv_qt.cpp
+++ b/src/jalv_qt.cpp
@@ -343,18 +343,6 @@ jalv_native_ui_type(void)
#endif
}
-int
-jalv_ui_resize(Jalv* jalv, int width, int height)
-{
- if (jalv->ui_instance && width > 0 && height > 0) {
- QWidget* widget = (QWidget*)suil_instance_get_widget(jalv->ui_instance);
- if (widget) {
- widget->resize(width, height);
- }
- }
- return 0;
-}
-
void
jalv_ui_port_event(Jalv* jalv,
uint32_t port_index,