aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/widgets/urllineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow/widgets/urllineedit.cpp')
-rw-r--r--src/mainwindow/widgets/urllineedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow/widgets/urllineedit.cpp b/src/mainwindow/widgets/urllineedit.cpp
index 378945f..5216f31 100644
--- a/src/mainwindow/widgets/urllineedit.cpp
+++ b/src/mainwindow/widgets/urllineedit.cpp
@@ -40,13 +40,13 @@ UrlLineEdit::UrlLineEdit(QWidget *parent)
actions.append(pasteAction);
auto *loadAction = new QAction(tr("Paste and load"), this);
- connect(loadAction, &QAction::triggered, this, [=]() {
+ connect(loadAction, &QAction::triggered, this, [this]() {
emit addressbar->load(QUrl::fromUserInput(qApp->clipboard()->text()));
});
actions.append(loadAction);
auto *searchAction = new QAction(tr("Paste and search"), this);
- connect(searchAction, &QAction::triggered, this, [=]() {
+ connect(searchAction, &QAction::triggered, this, [this]() {
emit addressbar->search(qApp->clipboard()->text());
});
actions.append(searchAction);