Fix minor optimisation issue

This commit is contained in:
Veronica Berglyd Olsen
2023-11-29 08:06:56 +01:00
parent 1b8d424b27
commit 82e9fb0c44
+1 -1
View File
@@ -256,7 +256,7 @@ class GuiMainStatus(QStatusBar):
stamp = datetime.now().strftime("%H:%M:%S")
self.showMessage((
f"Debug [{stamp}]"
f" \u2013 Widgets: {len(qApp.allWidgets())}"
f" \u2013 Widgets: {len(widgets)}"
f" \u2013 {self._traceMallocRef} Memory: {mem[0]:n}"
f" \u2013 Peak: {mem[1]:n}"
), 6000)