mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix tables appearance in Web UI
Fix empty array parsing in JSON
This commit is contained in:
parent
7778877fa7
commit
3172e1f530
7 changed files with 13 additions and 9 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue