Fix tables appearance in Web UI

Fix empty array parsing in JSON
This commit is contained in:
Christophe Dumez 2010-06-29 08:44:56 +00:00
parent 7778877fa7
commit 3172e1f530
7 changed files with 13 additions and 9 deletions

View file

@ -152,6 +152,7 @@ void EventManager::setGlobalPreferences(QVariantMap m) const {
}
int i = 0;
foreach(const QString &new_folder, new_folders) {
qDebug("New watched folder: %s", qPrintable(new_folder));
// Update new folders
if(!old_folders.contains(new_folder)) {
BTSession->getScanFoldersModel()->addPath(new_folder, download_at_path.at(i));