diff options
Diffstat (limited to 'src/walletbar.cpp')
-rw-r--r-- | src/walletbar.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/walletbar.cpp b/src/walletbar.cpp index cf30e6d8..01a6d658 100644 --- a/src/walletbar.cpp +++ b/src/walletbar.cpp @@ -43,31 +43,31 @@ WalletBar::WalletBar(QWidget *parent) : KMessageWidget(parent) { setMessageType(KMessageWidget::Warning); - + QSize sz = size(); - sz.setWidth( qobject_cast<QWidget *>(parent)->size().width() ); + sz.setWidth(qobject_cast<QWidget *>(parent)->size().width()); resize(sz); - + setCloseButtonVisible(false); - + QAction *rememberAction = new QAction(KIcon("document-save"), i18n("Remember"), this); connect(rememberAction, SIGNAL(triggered(bool)), this, SLOT(rememberData())); addAction(rememberAction); - + QAction *neverHereAction = new QAction(KIcon("process-stop"), i18n("Never for This Site"), this); connect(neverHereAction, SIGNAL(triggered(bool)), this, SLOT(neverRememberData())); addAction(neverHereAction); - + QAction *notNowAction = new QAction(KIcon("dialog-cancel"), i18n("Not Now"), this); connect(notNowAction, SIGNAL(triggered(bool)), this, SLOT(notNowRememberData())); - addAction(notNowAction); + addAction(notNowAction); } void WalletBar::rememberData() { emit saveFormDataAccepted(m_key); - + animatedHide(); deleteLater(); } @@ -87,7 +87,7 @@ void WalletBar::neverRememberData() void WalletBar::notNowRememberData() { emit saveFormDataRejected(m_key); - + animatedHide(); deleteLater(); } |