1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-30 00:14:57 +00:00

Use the proper Qt type

This commit is contained in:
Chocobo1 2019-01-06 18:31:32 +08:00
parent 88295f8075
commit d013e0922d
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -30,7 +30,6 @@
#include <fstream>
#include <boost/bind.hpp>
#include <libtorrent/bencode.hpp>
#include <libtorrent/create_torrent.hpp>
#include <libtorrent/storage.hpp>
@ -108,7 +107,7 @@ void TorrentCreatorThread::run()
std::sort(dirs.begin(), dirs.end(), Utils::String::naturalLessThan<Qt::CaseInsensitive>);
QStringList fileNames;
QHash<QString, boost::int64_t> fileSizeMap;
QHash<QString, qint64> fileSizeMap;
for (const auto &dir : asConst(dirs)) {
QStringList tmpNames; // natural sort files within each dir