diff options
-rw-r--r-- | src/network/kernel/qhostinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp index 3e1b019a93..446f9ce4db 100644 --- a/src/network/kernel/qhostinfo.cpp +++ b/src/network/kernel/qhostinfo.cpp @@ -110,7 +110,7 @@ void QHostInfoResult::postResultsReady(const QHostInfo &info) auto result = new QHostInfoResult(this); Q_CHECK_PTR(result); - auto metaCallEvent = QMetaCallEvent::create(slotObj.get(), nullptr, signal_index, info); + auto metaCallEvent = QMetaCallEvent::create(std::move(slotObj), nullptr, signal_index, info); Q_CHECK_PTR(metaCallEvent); qApp->postEvent(result, metaCallEvent); } |