diff options
-rw-r--r-- | src/settings.cpp | 2 |
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); |