Camera requests now also set last_request_time

CURA-2630
This commit is contained in:
Jaime van Kessel 2016-10-12 15:08:23 +02:00
parent a9b45572cc
commit 2337a78a71

View file

@ -230,6 +230,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
url = QUrl("http://" + self._address + ":8080/?action=snapshot")
image_request = QNetworkRequest(url)
self._manager.get(image_request)
self._last_request_time = time()
## Set the authentication state.
# \param auth_state \type{AuthState} Enum value representing the new auth state