mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-30 16:34:16 +00:00
Use the proper Qt type
This commit is contained in:
parent
88295f8075
commit
d013e0922d
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include <boost/bind.hpp>
|
|
||||||
#include <libtorrent/bencode.hpp>
|
#include <libtorrent/bencode.hpp>
|
||||||
#include <libtorrent/create_torrent.hpp>
|
#include <libtorrent/create_torrent.hpp>
|
||||||
#include <libtorrent/storage.hpp>
|
#include <libtorrent/storage.hpp>
|
||||||
@ -108,7 +107,7 @@ void TorrentCreatorThread::run()
|
|||||||
std::sort(dirs.begin(), dirs.end(), Utils::String::naturalLessThan<Qt::CaseInsensitive>);
|
std::sort(dirs.begin(), dirs.end(), Utils::String::naturalLessThan<Qt::CaseInsensitive>);
|
||||||
|
|
||||||
QStringList fileNames;
|
QStringList fileNames;
|
||||||
QHash<QString, boost::int64_t> fileSizeMap;
|
QHash<QString, qint64> fileSizeMap;
|
||||||
|
|
||||||
for (const auto &dir : asConst(dirs)) {
|
for (const auto &dir : asConst(dirs)) {
|
||||||
QStringList tmpNames; // natural sort files within each dir
|
QStringList tmpNames; // natural sort files within each dir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user