Browse Source

Use the proper Qt type

adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
d013e0922d
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 3
      src/base/bittorrent/torrentcreatorthread.cpp

3
src/base/bittorrent/torrentcreatorthread.cpp

@ -30,7 +30,6 @@ @@ -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() @@ -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

Loading…
Cancel
Save