Increase the download size limit to 100 MiB

This commit is contained in:
thalieht
2019-04-08 20:09:16 +03:00
parent 8f6c305d14
commit 11da8b82e8
4 changed files with 6 additions and 5 deletions

View File

@@ -32,6 +32,7 @@
#include <QtGlobal>
const char C_TORRENT_FILE_EXTENSION[] = ".torrent";
const int MAX_TORRENT_SIZE = 100 * 1024 * 1024; // 100 MiB
template <typename T>
constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; }