From 6b6b6f613fab5394b000c137415d34f78aabb5b9 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 25 Oct 2021 15:43:41 +0200 Subject: [PATCH] Remove superfluous pyqtSlot marking This can already be set via the isLoading property. What's more, it really only ever needs to be called from Python. I just added the fset because we have the setter anyway. Contributes to issue CURA-8556. --- plugins/Marketplace/PackageList.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/Marketplace/PackageList.py b/plugins/Marketplace/PackageList.py index 99fb3a5b9e..091ff4668e 100644 --- a/plugins/Marketplace/PackageList.py +++ b/plugins/Marketplace/PackageList.py @@ -66,7 +66,6 @@ class PackageList(ListModel): isLoadingChanged = pyqtSignal() - @pyqtSlot(bool) def setIsLoading(self, is_loading: bool) -> None: if is_loading != self._is_loading: self._is_loading = is_loading