366 None, |
366 None, |
367 self.tr("Deactivate WiFi Interface"), |
367 self.tr("Deactivate WiFi Interface"), |
368 msg, |
368 msg, |
369 ) |
369 ) |
370 |
370 |
|
371 @pyqtSlot() |
371 def __setNetworkTime(self): |
372 def __setNetworkTime(self): |
372 """ |
373 """ |
373 Private method to synchronize the device clock to network time. |
374 Private slot to synchronize the device clock to network time. |
374 """ |
375 """ |
375 from ..NtpParametersDialog import NtpParametersDialog |
376 from ..NtpParametersDialog import NtpParametersDialog |
376 |
377 |
377 device = self.__mpy.getDevice() |
378 device = self.__mpy.getDevice() |
378 if not device.getDeviceData("ntp"): |
379 if not device.getDeviceData("ntp"): |