mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Drop support of Qt 5
Also remove usage of some deprecated stuff. PR #19338.
This commit is contained in:
committed by
GitHub
parent
5e610cfdcf
commit
dbe79484d2
@@ -233,7 +233,7 @@ void TorrentFilesWatcher::loadLegacy()
|
||||
{
|
||||
const Path watchedFolder {it.key()};
|
||||
BitTorrent::AddTorrentParams params;
|
||||
if (it.value().type() == QVariant::Int)
|
||||
if (it.value().userType() == QMetaType::Int)
|
||||
{
|
||||
if (it.value().toInt() == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user