Gui: Refactor LCS fixes

* use early exit to highlight main execution path
* use `auto*` for pointer
* use getObject<T>() instead of casting result from getObject()
* remove empty updateData()
* rename origin to lcs in setTemporaryVisibility for clarity
This commit is contained in:
Benjamin Nauck
2025-06-11 08:31:10 +02:00
parent 2a664ea7ab
commit e5a81b9f44
2 changed files with 34 additions and 40 deletions

View File

@@ -100,7 +100,6 @@ public:
static const uint32_t defaultColor = 0x3296faff;
protected:
void updateData(const App::Property*) override;
bool onDelete(const std::vector<std::string> &) override;
private: