From de6225509a584df31be1b28146e73d8ecf72c7eb Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 2 Sep 2018 12:38:21 +0200 Subject: Clean up ProfileManager --- src/webengine/webview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webengine/webview.cpp') diff --git a/src/webengine/webview.cpp b/src/webengine/webview.cpp index d7281e9..94f73bc 100644 --- a/src/webengine/webview.cpp +++ b/src/webengine/webview.cpp @@ -244,7 +244,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) }); auto *newTabMenu = new QMenu(tr("Open link in new tab with profile"), this); - ProfileIterator it(ProfileManager::profileList()); + ProfileIterator it(profileManager->profileList()); while(it.hasNext()) { it.next(); connect(newTabMenu->addAction(it.key()), &QAction::triggered, this, [this, ctxdata, it]() { -- cgit v1.2.1