Search for existing files in separate thread

This commit is contained in:
Vladimir Golovnev (Glassez)
2020-12-02 09:16:11 +03:00
committed by sledgehammer999
parent 389664213b
commit 28844eff44
10 changed files with 191 additions and 46 deletions

View File

@@ -26,11 +26,11 @@
* exception statement from your version.
*/
#ifndef BITTORRENT_INFOHASH_H
#define BITTORRENT_INFOHASH_H
#pragma once
#include <libtorrent/sha1_hash.hpp>
#include <QMetaType>
#include <QString>
namespace BitTorrent
@@ -64,4 +64,4 @@ namespace BitTorrent
uint qHash(const InfoHash &key, uint seed);
}
#endif // BITTORRENT_INFOHASH_H
Q_DECLARE_METATYPE(BitTorrent::InfoHash)