mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Replace static_cast by qOverload
This commit is contained in:
parent
ee0d2d2220
commit
7ab3479a34
16 changed files with 39 additions and 40 deletions
|
@ -3570,7 +3570,7 @@ void Session::configureDeferred()
|
|||
if (!m_deferredConfigureScheduled) {
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
||||
QMetaObject::invokeMethod(this
|
||||
, static_cast<void (Session::*)()>(&Session::configure)
|
||||
, qOverload<>(&Session::configure)
|
||||
, Qt::QueuedConnection);
|
||||
#else
|
||||
QMetaObject::invokeMethod(this, "configure", Qt::QueuedConnection);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue