diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-03-30 09:44:03 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-03-30 09:44:03 +0200 |
commit | 73a3dd68e9e9ffcecf9a09aceb479efccb0980ca (patch) | |
tree | f64ffb3ad75d5e5ea1f1f2005fda9429bcc8301f | |
parent | Merge commit 'refs/merge-requests/110' of git://gitorious.org/rekonq/mainline... (diff) | |
download | rekonq-73a3dd68e9e9ffcecf9a09aceb479efccb0980ca.tar.xz |
fixing crash on manual rules saving
-rw-r--r-- | src/settings/adblockwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/adblockwidget.cpp b/src/settings/adblockwidget.cpp index 39df2c36..2f431c1e 100644 --- a/src/settings/adblockwidget.cpp +++ b/src/settings/adblockwidget.cpp @@ -166,7 +166,7 @@ void AdBlockWidget::save() n = listWidget->count(); for(int i = 0; i < n; ++i) { - QListWidgetItem *item = listWidget->takeItem(i); + QListWidgetItem *item = listWidget->item(i); localRules << item->text(); } localGroup.writeEntry( "local-rules" , localRules ); |