summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-18 12:00:00 +0100
committerDavid Robillard <d@drobilla.net>2017-03-18 12:00:00 +0100
commitbdcace7d0ee74bfa220827aea5262548053cb62a (patch)
treee769dd96e36063998eefa0316764b82baf4c25e3 /src
parent27a4f3c0c58cd92f564ee57b3d9b7356d23a3136 (diff)
downloadingen-bdcace7d0ee74bfa220827aea5262548053cb62a.tar.gz
ingen-bdcace7d0ee74bfa220827aea5262548053cb62a.tar.bz2
ingen-bdcace7d0ee74bfa220827aea5262548053cb62a.zip
Use new suil init API to fix Qt5 plugin UIs
Diffstat (limited to 'src')
-rw-r--r--src/gui/App.cpp3
1 files changed, 3 insertions, 0 deletions
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>
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);