summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-17 16:22:07 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-17 16:22:07 +0200
commit0d298edde05485569d9b2c1594905edc3637aaec (patch)
tree983517a6ef451a48cdcda5c0a4d8ba3c5130babe
parentFixing previews dimension.. (diff)
downloadrekonq-0d298edde05485569d9b2c1594905edc3637aaec.tar.xz
trivial fix
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 504e2460..c43b23fc 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -190,7 +190,7 @@ void SettingsDialog::readConfig()
QStringList names, urls;
names = ReKonfig::previewNames();
urls = ReKonfig::previewUrls();
- for(int i=0; i<9; ++i)
+ for(int i=0; i< urls.count(); ++i)
{
QTableWidgetItem *name = new QTableWidgetItem( names.at(i) );
t->setItem(i,0,name);