mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Fix possible folder watching issues on Windows
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- BUGFIX: Added missing right-click menu icon in Web UI
|
- BUGFIX: Added missing right-click menu icon in Web UI
|
||||||
- BUGFIX: Fix speed limit sliders initialization in Web UI
|
- BUGFIX: Fix speed limit sliders initialization in Web UI
|
||||||
- BUGFIX: Priority actions are only effective if the transfer list tab is displayed
|
- BUGFIX: Priority actions are only effective if the transfer list tab is displayed
|
||||||
|
- BUGFIX: Fix possible folder watching issues on Windows and OS/2
|
||||||
|
|
||||||
* Tue Jul 27 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.3.0
|
* Tue Jul 27 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.3.0
|
||||||
- FEATURE: Simplified torrent root folder renaming/truncating (< v2.3.0 is no longer forward compatible)
|
- FEATURE: Simplified torrent root folder renaming/truncating (< v2.3.0 is no longer forward compatible)
|
||||||
|
|||||||
@@ -203,7 +203,11 @@ private:
|
|||||||
void addTorrentsFromDir(const QDir &dir, QStringList &torrents) {
|
void addTorrentsFromDir(const QDir &dir, QStringList &torrents) {
|
||||||
const QStringList files = dir.entryList(filters, QDir::Files, QDir::Unsorted);
|
const QStringList files = dir.entryList(filters, QDir::Files, QDir::Unsorted);
|
||||||
foreach(const QString &file, files)
|
foreach(const QString &file, files)
|
||||||
torrents << dir.canonicalPath() + '/' + file;
|
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
|
||||||
|
torrents << dir.absoluteFilePath(file).replace("/", "\\");
|
||||||
|
#else
|
||||||
|
torrents << dir.absoluteFilePath(file);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user