mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fix folder scanning in program preferences (closes #486712)
This commit is contained in:
parent
b460f67cc4
commit
573a18c20f
2 changed files with 3 additions and 5 deletions
|
@ -148,7 +148,7 @@ public:
|
|||
|
||||
static bool isDirScanEnabled() {
|
||||
QSettings settings("qBittorrent", "qBittorrent");
|
||||
return settings.value(QString::fromUtf8("Preferences/Downloads/ScanDir"), QString()).toString().isEmpty();
|
||||
return !settings.value(QString::fromUtf8("Preferences/Downloads/ScanDir"), QString()).toString().isEmpty();
|
||||
}
|
||||
|
||||
static QString getScanDir() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue