diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-28 08:31:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-28 08:58:40 +0100 |
commit | 7f156c4019165dff0f1aec4ab660f23824167e00 (patch) | |
tree | 02fb59a0759fa157371e6922f77e4eb537d62f98 /variant | |
parent | e3e8caf61bbc22c3b278ce8bd36501b73806d524 (diff) |
api: cleanup
- add disable warnings at module load failure
- add loading modules without looking for ctors,
for the video module
- get rid of QList
Diffstat (limited to 'variant')
-rw-r--r-- | variant/default/main-window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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>("", dylib::Filter)); + modules.filters().insert(modules.filters().begin(), + std::make_shared<dylib>("", dylib_type::Filter)); for (dylib_ptr& x : modules.trackers()) ui.iconcomboTrackerSource->addItem(x->icon, x->name, x->module_name); |