| 1830 | } |
| 1831 | |
| 1832 | void Engine::detectAppropriatePacketSizeImpl() |
| 1833 | { |
| 1834 | if (networkDetectionManager_->isOnline()) |
| 1835 | { |
| 1836 | qCDebug(LOG_PACKET_SIZE) << "Detecting appropriate packet size"; |
| 1837 | runningPacketDetection_ = true; |
| 1838 | emit packetSizeDetectionStateChanged(true, false); |
| 1839 | packetSizeController_->detectAppropriatePacketSize(HardcodedSettings::instance().windscribeHost()); |
| 1840 | } |
| 1841 | else |
| 1842 | { |
| 1843 | qCWarning(LOG_PACKET_SIZE) << "No internet, cannot detect appropriate packet size. Using: " << QString::number(packetSize_.mtu); |
| 1844 | } |
| 1845 | } |
| 1846 | |
| 1847 | void Engine::updateWindowInfoImpl(qint32 windowCenterX, qint32 windowCenterY) |
| 1848 | { |
nothing calls this directly
no test coverage detected