| 608 | } |
| 609 | |
| 610 | void AccountList::requestRefresh(QString accountId) |
| 611 | { |
| 612 | auto index = m_refreshQueue.indexOf(accountId); |
| 613 | if (index != -1) { |
| 614 | m_refreshQueue.removeAt(index); |
| 615 | } |
| 616 | m_refreshQueue.push_front(accountId); |
| 617 | qDebug() << "AccountList: Pushed account with internal ID " << accountId << " to the front of the queue"; |
| 618 | if (!isActive()) { |
| 619 | tryNext(); |
| 620 | } |
| 621 | } |
| 622 | |
| 623 | void AccountList::queueRefresh(QString accountId) |
| 624 | { |
no outgoing calls
no test coverage detected