Make the URL dialog contain QLineEdit

as otherwise pressing RETURN does unexpected things.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-01-11 10:25:07 +01:00 committed by Subsurface
parent 0f58510ce0
commit db17adfb28
3 changed files with 3 additions and 2 deletions

View file

@ -412,7 +412,7 @@ URLDialog::URLDialog(QWidget *parent) : QDialog(parent)
QString URLDialog::url() const
{
return ui.urlField->toPlainText();
return ui.urlField->text();
}
bool isGnome3Session()