diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-20 03:12:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-20 03:12:44 +0200 |
commit | 8459e02d05b79a524a8942c28044b271ca17084a (patch) | |
tree | c5495b047682771e3c74f711dae87b9b8a91f735 /src | |
parent | Flash loading fix (diff) | |
download | rekonq-8459e02d05b79a524a8942c28044b271ca17084a.tar.xz |
Fixing save setting crash
Diffstat (limited to 'src')
-rw-r--r-- | src/settings.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 57793888..de15708a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -232,8 +232,11 @@ void SettingsDialog::saveSettings() QStringList names, urls; for(int i=0; i<9; ++i) { - names << t->item(i,0)->text(); - urls << t->item(i,1)->text(); + if(t->item(i,0)) + { + names << t->item(i,0)->text(); + urls << t->item(i,1)->text(); + } } ReKonfig::setPreviewNames(names); |