mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -07:00
parent
06e1b07274
commit
40e432b127
25 changed files with 92 additions and 756 deletions
|
@ -455,11 +455,7 @@ QString Utils::Misc::boostVersionString()
|
|||
QString Utils::Misc::libtorrentVersionString()
|
||||
{
|
||||
// static initialization for usage in signal handler
|
||||
#if (LIBTORRENT_VERSION_NUM < 10200)
|
||||
static const auto version {QString::fromLatin1(libtorrent::version())};
|
||||
#else
|
||||
static const auto version {QString::fromLatin1(lt::version())};
|
||||
#endif
|
||||
return version;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue