summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-08 05:48:37 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-08 05:48:37 (GMT)
commitee5016d76ab4dedcf0e956a2e76e1f34e893964b (patch)
treed092e7b2dcbf34cb59e6ee18427546b9a8745699
parentd608d21f78c8b561ada1aa0d2e9c6e59cb431035 (diff)
Use return pressed to check url
-rw-r--r--webengineviewer/src/checkphishingurl/tests/checkphishingurlgui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/webengineviewer/src/checkphishingurl/tests/checkphishingurlgui.cpp b/webengineviewer/src/checkphishingurl/tests/checkphishingurlgui.cpp
index 4cb8ea7..1c7a400 100644
--- a/webengineviewer/src/checkphishingurl/tests/checkphishingurlgui.cpp
+++ b/webengineviewer/src/checkphishingurl/tests/checkphishingurlgui.cpp
@@ -41,6 +41,7 @@ CheckPhishingUrlGui::CheckPhishingUrlGui(QWidget *parent)
QPushButton *button = new QPushButton(QStringLiteral("Check"), this);
checkUrlLayout->addWidget(button);
connect(button, &QPushButton::clicked, this, &CheckPhishingUrlGui::slotCheckUrl);
+ connect(mCheckUrlLineEdit, &QLineEdit::returnPressed, this, &CheckPhishingUrlGui::slotCheckUrl);
mResult = new QTextEdit(this);
mResult->setReadOnly(true);