Commit cfe45d03 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Increase timeout for notification disconnected/connected notification

Network Manager nowadays takes forever to reconnect to a network, so the 5 seconds that used to work fine, are no longer sufficient.

Differential Revision: https://phabricator.kde.org/D9765
parent 85519d3d
......@@ -568,7 +568,7 @@ void Notification::onPrepareForSleep(bool sleep)
} else {
if (!m_checkActiveConnectionOnResumeTimer) {
m_checkActiveConnectionOnResumeTimer = new QTimer(this);
m_checkActiveConnectionOnResumeTimer->setInterval(5000);
m_checkActiveConnectionOnResumeTimer->setInterval(10000);
m_checkActiveConnectionOnResumeTimer->setSingleShot(true);
connect(m_checkActiveConnectionOnResumeTimer, &QTimer::timeout, this, &Notification::onCheckActiveConnectionOnResume);
}
......
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