mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 18:55:55 +08:00
Camera requests now also set last_request_time
CURA-2630
This commit is contained in:
parent
a9b45572cc
commit
2337a78a71
@ -230,6 +230,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
url = QUrl("http://" + self._address + ":8080/?action=snapshot")
|
url = QUrl("http://" + self._address + ":8080/?action=snapshot")
|
||||||
image_request = QNetworkRequest(url)
|
image_request = QNetworkRequest(url)
|
||||||
self._manager.get(image_request)
|
self._manager.get(image_request)
|
||||||
|
self._last_request_time = time()
|
||||||
|
|
||||||
## Set the authentication state.
|
## Set the authentication state.
|
||||||
# \param auth_state \type{AuthState} Enum value representing the new auth state
|
# \param auth_state \type{AuthState} Enum value representing the new auth state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user