Commit 8e804a7c authored by Laurent Montel's avatar Laurent Montel 😁

Don't use deprecated signal

parent ed18a6be
......@@ -111,7 +111,7 @@ void StatusNotifier::show()
// make sure the user doesn't miss the SNI by stopping the auto hide timer when the session becomes idle
int idleId = KIdleTime::instance()->addIdleTimeout(30000);
connect(KIdleTime::instance(), static_cast<void (KIdleTime::*)(int)>(&KIdleTime::timeoutReached), this, [this, idleId](int id) {
connect(KIdleTime::instance(), static_cast<void (KIdleTime::*)(int, int)>(&KIdleTime::timeoutReached), this, [this, idleId](int id) {
if (idleId == id) {
m_autoCloseTimer->stop();
}
......
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