add @pyqtslot

This commit is contained in:
HellAholic 2024-09-12 12:25:30 +02:00
parent 552686cdb7
commit 1e3fbc4ef2

View file

@ -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}"