diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-01-11 10:25:07 +0100 |
---|---|---|
committer | Subsurface <dirk@subsurface-divelog.org> | 2017-01-12 14:06:54 -0800 |
commit | db17adfb286efbe7caa284a091947e91b80bfcb1 (patch) | |
tree | a4f7278295df6dc20a504f1375593d4b80166f85 /desktop-widgets/simplewidgets.cpp | |
parent | 0f58510ce0244513521296b75281fcc32f72a931 (diff) | |
download | subsurface-db17adfb286efbe7caa284a091947e91b80bfcb1.tar.gz |
Make the URL dialog contain QLineEdit
as otherwise pressing RETURN does unexpected things.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r-- | desktop-widgets/simplewidgets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp index 4a0649626..3769716af 100644 --- a/desktop-widgets/simplewidgets.cpp +++ b/desktop-widgets/simplewidgets.cpp @@ -412,7 +412,7 @@ URLDialog::URLDialog(QWidget *parent) : QDialog(parent) QString URLDialog::url() const { - return ui.urlField->toPlainText(); + return ui.urlField->text(); } bool isGnome3Session() |