Port away from deprecated KIdleTime::timeoutReached signal overload

parent dfb43d85
......@@ -28,7 +28,7 @@ AwayManager::AwayManager(QObject* parent) : QObject(parent)
m_connectionManager = Application::instance()->getConnectionManager();
connect(KIdleTime::instance(), &KIdleTime::resumingFromIdle, this, &AwayManager::resumeFromIdle);
connect(KIdleTime::instance(), QOverload<int>::of(&KIdleTime::timeoutReached), this, &AwayManager::idleTimeoutReached);
connect(KIdleTime::instance(), QOverload<int, int>::of(&KIdleTime::timeoutReached), this, &AwayManager::idleTimeoutReached);
// Catch the first "resume event" (= user input) so we correctly catch the first
// resume event in case the user is already idle on startup).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment