From 4f0659b577c88c94a2f802c6d5b9a775cf9a7168 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 28 May 2014 09:45:56 +0100 Subject: [PATCH] Try to transient-map LV2 UIs that use showInterface --- source/Makefile.mk | 2 +- source/backend/plugin/Lv2Plugin.cpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/Makefile.mk b/source/Makefile.mk index 70a217bbb..1c13662c5 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -112,7 +112,7 @@ CFLAGS += -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes CXXFLAGS += -Wnon-virtual-dtor -Woverloaded-virtual ifeq ($(LINUX),true) CFLAGS += -isystem /opt/kxstudio/include -CXXFLAGS += -isystem /opt/kxstudio/include -isystem /usr/include/qt4 +CXXFLAGS += -isystem /opt/kxstudio/include -isystem /opt/kxstudio/include/qt5 endif ifeq ($(MACOS),true) CFLAGS += -isystem /opt/kxstudio/include diff --git a/source/backend/plugin/Lv2Plugin.cpp b/source/backend/plugin/Lv2Plugin.cpp index 1786455c1..cba3873b1 100644 --- a/source/backend/plugin/Lv2Plugin.cpp +++ b/source/backend/plugin/Lv2Plugin.cpp @@ -1240,9 +1240,14 @@ public: if (fUi.type == UI::TYPE_EMBED) { if (fUi.window != nullptr) + { fUi.window->show(); + } else if (fExt.uishow != nullptr) + { fExt.uishow->show(fUi.handle); + pData->tryTransient(); + } } else #endif