179
179
//if this is the first error for this account, store the details of the error to show
180
180
if (account->connectionStatusReason() == Tp::ConnectionStatusReasonRequested) {
181
181
m_errorMap.remove(account);
185
183
m_errorMap.insert(account, ConnectionError(account->connectionStatusReason(), account->connectionError(), account->connectionErrorDetails()));
186
184
QTimer::singleShot(30 * 1000, this, SLOT(showErrorNotification())); //a timer is kept per account because we want to show 30 seconds after the first still valid error.