From a4d3f7b31753da459d6f943192cbebad56dd6a42 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Wed, 13 Sep 2017 21:12:35 +0200 Subject: [PATCH] URL input dialog: trim URL. --- src/gui/urlinputdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/urlinputdialog.cpp b/src/gui/urlinputdialog.cpp index c0cb8fd..23a36b9 100644 --- a/src/gui/urlinputdialog.cpp +++ b/src/gui/urlinputdialog.cpp @@ -55,7 +55,7 @@ void UrlInputDialog::textChanged(const QString& text) void UrlInputDialog::acceptClicked() { - saved_result = urlEntry->text(); + saved_result = urlEntry->text().trimmed(); setResult(HaveUrl); } -- 2.39.5