summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/main-window.cpp')
-rw-r--r--gui/main-window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index 96be298e..aa8e16f3 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -74,13 +74,13 @@ MainWindow::MainWindow() :
{
modules.filters().push_front(std::make_shared<dylib>("", dylib::Filter));
- for (mem<dylib>& x : modules.trackers())
+ for (std::shared_ptr<dylib>& x : modules.trackers())
ui.iconcomboTrackerSource->addItem(x->icon, x->name);
- for (mem<dylib>& x : modules.protocols())
+ for (std::shared_ptr<dylib>& x : modules.protocols())
ui.iconcomboProtocol->addItem(x->icon, x->name);
- for (mem<dylib>& x : modules.filters())
+ for (std::shared_ptr<dylib>& x : modules.filters())
ui.iconcomboFilter->addItem(x->icon, x->name);
}
@@ -601,7 +601,7 @@ inline bool MainWindow::mk_window(ptr<t>& place, Args&&... params)
}
template<typename t>
-bool MainWindow::mk_dialog(mem<dylib> lib, ptr<t>& d)
+bool MainWindow::mk_dialog(std::shared_ptr<dylib> lib, ptr<t>& d)
{
const bool just_created = mk_window_common(d, [&]() -> t* {
if (lib && lib->Dialog)