diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 22:58:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 23:34:32 +0200 |
commit | 807e20570cbfef6e258313565598905564f1bb86 (patch) | |
tree | 695b3c940bce02305224e5781a7c48b5a6fdab94 /src/settings/passexceptionswidget.cpp | |
parent | Runtime Nepomuk tagging check (diff) | |
download | rekonq-807e20570cbfef6e258313565598905564f1bb86.tar.xz |
Kitchen sink clean up
- astyle
- copyrights
- (some) includes
Diffstat (limited to 'src/settings/passexceptionswidget.cpp')
-rw-r--r-- | src/settings/passexceptionswidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |