diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-12-13 17:16:40 +0100 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-12-13 17:16:40 +0100 |
commit | bee61b9d237a0be0571794175ef70c127aecf1e0 (patch) | |
tree | 64c82e7e8051783feb3f6ce85f38e5ba129a4932 | |
parent | walletwidget on top of the webview (not over) (diff) | |
download | rekonq-bee61b9d237a0be0571794175ef70c127aecf1e0.tar.xz |
fix i18n issue in wallet message
fix ctor warning in webview
-rw-r--r-- | src/walletwidget.cpp | 7 | ||||
-rw-r--r-- | src/webview.cpp | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/walletwidget.cpp b/src/walletwidget.cpp index 8aff4b8e..90410d4d 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,7 @@ 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(key).append(i18n(" on ")).append(url.host()).append(i18n("?")) ); m_key = key; m_url = url; } diff --git a/src/webview.cpp b/src/webview.cpp index 574af35a..fc0d5feb 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -59,10 +59,10 @@ WebView::WebView(QWidget* parent, QWidget* messageWidget) : KWebView(parent, false) + , m_messageWidget(messageWidget) , m_page( new WebPage(this) ) , m_progress(0) , m_mousePos(QPoint(0,0)) - , m_messageWidget(messageWidget) { setPage(m_page); |