mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-11 09:29:59 +02:00
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:
@@ -197,9 +197,6 @@ class Element : public QetGraphicsItem
|
||||
void setSize(int, int);
|
||||
|
||||
private:
|
||||
void drawSelection(
|
||||
QPainter *,
|
||||
const QStyleOptionGraphicsItem *);
|
||||
void drawHighlight(
|
||||
QPainter *,
|
||||
const QStyleOptionGraphicsItem *);
|
||||
|
||||
Reference in New Issue
Block a user