mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:08:59 +08:00
add @pyqtslot
This commit is contained in:
parent
552686cdb7
commit
1e3fbc4ef2
@ -283,6 +283,7 @@ class CuraActions(QObject):
|
||||
def _openUrl(self, url: QUrl) -> None:
|
||||
QDesktopServices.openUrl(url)
|
||||
|
||||
@pyqtSlot()
|
||||
def supportProjectTag(self):
|
||||
timestamp = datetime.now().strftime("%Y%m%d-%H%M%S")
|
||||
return f"exported-project-for-support-{timestamp}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user