aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor/profileeditorplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.cpp')
-rw-r--r--plugins/ProfileEditor/profileeditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.cpp b/plugins/ProfileEditor/profileeditorplugin.cpp
index 32b0b8d..b158d6b 100644
--- a/plugins/ProfileEditor/profileeditorplugin.cpp
+++ b/plugins/ProfileEditor/profileeditorplugin.cpp
@@ -26,7 +26,7 @@ QHash<QString, std::function<int()>> ProfileEditorPlugin::commands()
QDialog *ProfileEditorPlugin::createWidget(QWidget *parent)
{
Q_CHECK_PTR(browser);
- auto *widget = new ProfileManagerDialog(browser->profiles(), parent);
+ auto *widget = new ProfileManagerDialog(browser->getProfileManager(), parent);
widget->setAttribute(Qt::WA_DeleteOnClose, true);
connect(widget, &ProfileManagerDialog::createProfile, this, [=](const QString &id) {