summaryrefslogtreecommitdiff
path: root/src/walletwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletwidget.cpp')
-rw-r--r--src/walletwidget.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/walletwidget.cpp b/src/walletwidget.cpp
index b5b572f7..69b5c497 100644
--- a/src/walletwidget.cpp
+++ b/src/walletwidget.cpp
@@ -36,7 +36,7 @@
#include <QToolButton>
#include <QPushButton>
#include <QHBoxLayout>
-
+#include <QString>
WalletWidget::WalletWidget(QWidget *parent)
: QWidget(parent)
@@ -97,10 +97,8 @@ void WalletWidget::notNowRememberData()
void WalletWidget::onSaveFormData(const QString &key, const QUrl &url)
{
- m_label->setText( i18n("Do you want rekonq to remember the password for \"%1\" on \"%2\"?")
- .arg(key)
- .arg(url.host())
- );
+ m_label->setText( i18n("Do you want rekonq to remember the password for ").append(url.userName()).append(i18n(" on ")).append(url.host()).append(i18n("?")) );
+
m_key = key;
m_url = url;
}