| 1456 | } |
| 1457 | |
| 1458 | bool Backend::isProviderAuthenticated(const QString &provider) const |
| 1459 | { |
| 1460 | // OAuth-based providers only - "folder" and "local" don't use OAuth |
| 1461 | if (provider == "local" || provider == "folder") |
| 1462 | return false; |
| 1463 | |
| 1464 | QString tokenPath = defaultTokenPath(provider); |
| 1465 | return QFile::exists(tokenPath); |
| 1466 | } |
| 1467 | |
| 1468 | bool Backend::shouldOfferAutoUpdates() const |
| 1469 | { |
nothing calls this directly
no outgoing calls
no test coverage detected