mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Implement "Add torrent params" editing widget
This commit is contained in:
@@ -102,8 +102,8 @@ Private::FileSystemPathValidator::testPath(const Path &path) const
|
||||
// `QFileInfo` will cache the query results and avoid exessive querying to filesystem
|
||||
const QFileInfo info {path.data()};
|
||||
|
||||
if (existingOnly() && !info.exists())
|
||||
return TestResult::DoesNotExist;
|
||||
if (!info.exists())
|
||||
return existingOnly() ? TestResult::DoesNotExist : TestResult::OK;
|
||||
|
||||
if (directoriesOnly())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user