diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index 19e7d9c41..bb393715d 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -2044,18 +2044,13 @@ void CoreThread::processAuxiliaryRenderWindowInputEvent(void* userdata, quint32 }); } -void CoreThread::doBackgroundControllerPoll() -{ - Core::IdleUpdate(); -} - void CoreThread::createBackgroundControllerPollTimer() { DebugAssert(!m_background_controller_polling_timer); m_background_controller_polling_timer = new QTimer(this); m_background_controller_polling_timer->setSingleShot(false); m_background_controller_polling_timer->setTimerType(Qt::CoarseTimer); - connect(m_background_controller_polling_timer, &QTimer::timeout, this, &CoreThread::doBackgroundControllerPoll); + connect(m_background_controller_polling_timer, &QTimer::timeout, &Core::IdleUpdate); } void CoreThread::destroyBackgroundControllerPollTimer() diff --git a/src/duckstation-qt/qthost.h b/src/duckstation-qt/qthost.h index 555d455e2..ce33a4117 100644 --- a/src/duckstation-qt/qthost.h +++ b/src/duckstation-qt/qthost.h @@ -196,7 +196,6 @@ private: void onRenderWindowResized(int width, int height, float scale, float refresh_rate); void onRenderWindowKeyEvent(int key, bool pressed); void onRenderWindowTextEntered(const QString& text); - void doBackgroundControllerPoll(); void processAuxiliaryRenderWindowInputEvent(void* userdata, quint32 event, quint32 param1, quint32 param2, quint32 param3);