diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/simplewidgets.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/simplewidgets.h | 1 | ||||
-rw-r--r-- | desktop-widgets/urldialog.ui | 2 |
3 files changed, 3 insertions, 2 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() diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h index 3c384ba89..2fc858cd3 100644 --- a/desktop-widgets/simplewidgets.h +++ b/desktop-widgets/simplewidgets.h @@ -8,6 +8,7 @@ class QNetworkReply; #include <QWidget> #include <QGroupBox> #include <QDialog> +#include <QTextEdit> #include <stdint.h> #include "ui_renumber.h" diff --git a/desktop-widgets/urldialog.ui b/desktop-widgets/urldialog.ui index 397f90a64..bb0426315 100644 --- a/desktop-widgets/urldialog.ui +++ b/desktop-widgets/urldialog.ui @@ -29,7 +29,7 @@ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> - <widget class="QPlainTextEdit" name="urlField"> + <widget class="QLineEdit" name="urlField"> <property name="geometry"> <rect> <x>10</x> |