Fix method invocation on Qt < 5.10

Fixup 0c3fe54b0b
This commit is contained in:
FranciscoPombal 2020-12-04 22:46:49 +00:00 committed by sledgehammer999
parent 28844eff44
commit 817e9c4747
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -2278,7 +2278,7 @@ void Session::findIncompleteFiles(const TorrentInfo &torrentInfo, const QString
}); });
#else #else
QMetaObject::invokeMethod(m_fileSearcher, "search" 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)); , Q_ARG(QString, completeSavePath), Q_ARG(QString, incompleteSavePath));
#endif #endif
} }