| 490 | } |
| 491 | |
| 492 | bool CoreProcess::checkSecureSocket(const QString &line) |
| 493 | { |
| 494 | static const QString tlsCheckString = "network encryption protocol: "; |
| 495 | const auto index = line.indexOf(tlsCheckString, 0, Qt::CaseInsensitive); |
| 496 | if (index == -1) { |
| 497 | return false; |
| 498 | } |
| 499 | |
| 500 | Q_EMIT secureSocket(true); |
| 501 | m_secureSocketVersion = line.mid(index + tlsCheckString.size()); |
| 502 | return true; |
| 503 | } |
| 504 | |
| 505 | #ifdef Q_OS_MACOS |
| 506 | void CoreProcess::checkOSXNotification(const QString &line) |