mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Raise minimum supported Qt version to 5.12
This commit is contained in:
@@ -547,13 +547,8 @@ Parser::Parser(const QString lastBuildDate)
|
||||
|
||||
void Parser::parse(const QByteArray &feedData)
|
||||
{
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
||||
QMetaObject::invokeMethod(this, [this, feedData]() { parse_impl(feedData); }
|
||||
, Qt::QueuedConnection);
|
||||
#else
|
||||
QMetaObject::invokeMethod(this, "parse_impl", Qt::QueuedConnection
|
||||
, Q_ARG(QByteArray, feedData));
|
||||
#endif
|
||||
}
|
||||
|
||||
// read and create items from a rss document
|
||||
|
||||
Reference in New Issue
Block a user