| 323 | |
| 324 | #ifndef QT_NO_SSL |
| 325 | void NetworkReplyModel::replyEncrypted(QNetworkReply *reply, QNetworkAccessManager *nam) |
| 326 | { |
| 327 | /// WARNING this runs in the thread of the reply, not the thread of this! |
| 328 | ReplyNode node; |
| 329 | node.reply = reply; |
| 330 | node.displayName = Util::displayString(reply); |
| 331 | node.url = reply->url(); |
| 332 | node.op = reply->operation(); |
| 333 | node.state |= NetworkReply::Encrypted; |
| 334 | // clang-format off |
| 335 | QMetaObject::invokeMethod(this, "updateReplyNode", Qt::AutoConnection, Q_ARG(QNetworkAccessManager*, nam), Q_ARG(GammaRay::NetworkReplyModel::ReplyNode, node)); |
| 336 | // clang-format on |
| 337 | } |
| 338 | |
| 339 | void NetworkReplyModel::replySslErrors(QNetworkReply *reply, const QList<QSslError> &errors, QNetworkAccessManager *nam) |
| 340 | { |
nothing calls this directly
no test coverage detected