From bdcace7d0ee74bfa220827aea5262548053cb62a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Mar 2017 12:00:00 +0100 Subject: Use new suil init API to fix Qt5 plugin UIs --- src/gui/App.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index b1c92ade..cc2ab74a 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -36,6 +36,7 @@ #include "ingen/runtime_paths.hpp" #include "lilv/lilv.h" #include "raul/Path.hpp" +#include "suil/suil.h" #include "App.hpp" #include "ConnectWindow.hpp" @@ -113,6 +114,8 @@ App::~App() SPtr App::create(Ingen::World* world) { + suil_init(&world->argc(), &world->argv(), SUIL_ARG_NONE); + // Add RC file for embedded GUI Gtk style const std::string rc_path = Ingen::data_file_path("ingen_style.rc"); Gtk::RC::add_default_file(rc_path); -- cgit v1.2.1