diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-07-17 16:46:24 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-17 16:46:24 +0200 |
commit | 82167d2422a4b6e3071dca68cf65a66e1da41ab4 (patch) | |
tree | 03c1f95a2aa60c48822a463cc3812b5c3415991e /src/walletbar.cpp | |
parent | Improving tab previews (diff) | |
download | rekonq-82167d2422a4b6e3071dca68cf65a66e1da41ab4.tar.xz |
A round of the "new" astyle 2.01...
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(); } |