Merge pull request #13910 from FranciscoPombal/hotfix_13894

Fix method invocation on Qt < 5.10
This commit is contained in:
Vladimir Golovnev 2020-12-05 10:33:07 +03:00 committed by GitHub
commit d899923876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2278,7 +2278,7 @@ void Session::findIncompleteFiles(const TorrentInfo &torrentInfo, const QString
});
#else
QMetaObject::invokeMethod(m_fileSearcher, "search"
, Q_ARG(InfoHash, searchId), Q_ARG(QStringList, originalFileNames)
, Q_ARG(BitTorrent::InfoHash, searchId), Q_ARG(QStringList, originalFileNames)
, Q_ARG(QString, completeSavePath), Q_ARG(QString, incompleteSavePath));
#endif
}