summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-01-11 10:25:07 +0100
committerGravatar Subsurface <dirk@subsurface-divelog.org>2017-01-12 14:06:54 -0800
commitdb17adfb286efbe7caa284a091947e91b80bfcb1 (patch)
treea4f7278295df6dc20a504f1375593d4b80166f85 /desktop-widgets/simplewidgets.cpp
parent0f58510ce0244513521296b75281fcc32f72a931 (diff)
downloadsubsurface-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.cpp2
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()