From 7f156c4019165dff0f1aec4ab660f23824167e00 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 28 Mar 2019 08:31:27 +0100 Subject: api: cleanup - add disable warnings at module load failure - add loading modules without looking for ctors, for the video module - get rid of QList --- variant/default/main-window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'variant/default') diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 334695cb..b90aa3bd 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -77,7 +77,8 @@ void main_window::init_dylibs() using dylib_ptr = Modules::dylib_ptr; using dylib_list = Modules::dylib_list; - modules.filters().push_front(std::make_shared("", dylib::Filter)); + modules.filters().insert(modules.filters().begin(), + std::make_shared("", dylib_type::Filter)); for (dylib_ptr& x : modules.trackers()) ui.iconcomboTrackerSource->addItem(x->icon, x->name, x->module_name); -- cgit v1.2.3