{"comment":{"url":"https://api.github.com/repos/sledgehammer999/qBittorrent/comments/15229771","html_url":"https://github.com/sledgehammer999/qBittorrent/commit/42787a89dd705984a10ef8e35d18e449bd40ef2d#commitcomment-15229771","id":15229771,"user":{"login":"glassez","id":5063477,"avatar_url":"https://avatars.githubusercontent.com/u/5063477?v=3","gravatar_id":"","url":"https://api.github.com/users/glassez","html_url":"https://github.com/glassez","followers_url":"https://api.github.com/users/glassez/followers","following_url":"https://api.github.com/users/glassez/following{/other_user}","gists_url":"https://api.github.com/users/glassez/gists{/gist_id}","starred_url":"https://api.github.com/users/glassez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glassez/subscriptions","organizations_url":"https://api.github.com/users/glassez/orgs","repos_url":"https://api.github.com/users/glassez/repos","events_url":"https://api.github.com/users/glassez/events{/privacy}","received_events_url":"https://api.github.com/users/glassez/received_events","type":"User","site_admin":false},"position":68,"line":201,"path":"src/webui/prefjson.cpp","commit_id":"42787a89dd705984a10ef8e35d18e449bd40ef2d","created_at":"2016-01-02T11:53:41Z","updated_at":"2016-01-02T11:53:41Z","body":"@sledgehammer999, you can simplify ScanFoldersModel::addPath() and ScanFoldersModel::updatePath() by removing ```downloadType``` param. You can simply pass \"Default folder\" and \"Watch folder\" as ```downloadPath```. Since real downloadPath must be absolute path there is no conflict here. Also you can use this way in all other places where you use both type/path."}}