mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
Prepare for libtorrent v1.1 support
This commit is contained in:
@@ -55,7 +55,7 @@ using namespace BitTorrent;
|
||||
// name starts with a .
|
||||
bool fileFilter(const std::string &f)
|
||||
{
|
||||
return (libt::filename(f)[0] != '.');
|
||||
return !Utils::Fs::fileName(Utils::String::fromStdString(f)).startsWith('.');
|
||||
}
|
||||
|
||||
TorrentCreatorThread::TorrentCreatorThread(QObject *parent)
|
||||
|
||||
Reference in New Issue
Block a user