Minor : revamp

Use QGIUtility::drawBoundingRectSelection for draw the selection rect
of element instead of a method of the element itself.
Less code.
This commit is contained in:
joshua
2025-10-02 21:52:40 +02:00
parent 74b55f3bf5
commit f6ba47277d
2 changed files with 2 additions and 32 deletions

View File

@@ -197,9 +197,6 @@ class Element : public QetGraphicsItem
void setSize(int, int);
private:
void drawSelection(
QPainter *,
const QStyleOptionGraphicsItem *);
void drawHighlight(
QPainter *,
const QStyleOptionGraphicsItem *);