summaryrefslogtreecommitdiff
path: root/src/settings/passexceptionswidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-05-27 22:58:44 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-05-27 23:34:32 +0200
commit807e20570cbfef6e258313565598905564f1bb86 (patch)
tree695b3c940bce02305224e5781a7c48b5a6fdab94 /src/settings/passexceptionswidget.cpp
parentRuntime Nepomuk tagging check (diff)
downloadrekonq-807e20570cbfef6e258313565598905564f1bb86.tar.xz
Kitchen sink clean up
- astyle - copyrights - (some) includes
Diffstat (limited to 'src/settings/passexceptionswidget.cpp')
-rw-r--r--src/settings/passexceptionswidget.cpp8
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);
}