| 62 | } |
| 63 | |
| 64 | void ReplyFetcher::checkForTimeout() |
| 65 | { |
| 66 | const int connectionTimeout = 30*1000; |
| 67 | if((lastNetworkTime_ - QDateTime::currentMSecsSinceEpoch()) > connectionTimeout) { |
| 68 | setError(QStringLiteral("Connection timeout.")); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | |
| 73 | void ReplyFetcher::onFinished() |
nothing calls this directly
no outgoing calls
no test coverage detected