From 807e20570cbfef6e258313565598905564f1bb86 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 27 May 2012 22:58:44 +0200 Subject: Kitchen sink clean up - astyle - copyrights - (some) includes --- src/settings/passexceptionswidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/settings/passexceptionswidget.cpp') diff --git a/src/settings/passexceptionswidget.cpp b/src/settings/passexceptionswidget.cpp index 8813c178..feee4d88 100644 --- a/src/settings/passexceptionswidget.cpp +++ b/src/settings/passexceptionswidget.cpp @@ -38,12 +38,12 @@ PassExWidget::PassExWidget(QWidget *parent) setupUi(this); setAttribute(Qt::WA_DeleteOnClose, true); - + connect(removeOneButton, SIGNAL(clicked()), this, SLOT(removeOne())); connect(removeAllButton, SIGNAL(clicked()), this, SLOT(removeAll())); QStringList exList = ReKonfig::walletBlackList(); - Q_FOREACH(const QString &str, exList) + Q_FOREACH(const QString & str, exList) { QListWidgetItem *item = new QListWidgetItem(str, listWidget); listWidget->addItem(item); @@ -54,7 +54,7 @@ PassExWidget::PassExWidget(QWidget *parent) void PassExWidget::removeOne() { QString item = listWidget->takeItem(listWidget->currentRow())->text(); - + QStringList exList = ReKonfig::walletBlackList(); exList.removeOne(item); ReKonfig::setWalletBlackList(exList); @@ -64,7 +64,7 @@ void PassExWidget::removeOne() void PassExWidget::removeAll() { listWidget->clear(); - + QStringList clearList; ReKonfig::setWalletBlackList(clearList); } -- cgit v1.2.1