mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Fix folder scanning in program preferences (closes #486712)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user