mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Simplify ruler update code.
This should fix the infinite recursion on OSX and also clean a lot of code, which is also very nice. <3 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
59785345f8
commit
57d3baa410
2 changed files with 6 additions and 18 deletions
|
|
@ -21,8 +21,7 @@ public:
|
|||
void recalculate();
|
||||
|
||||
protected:
|
||||
QVariant itemChange(GraphicsItemChange change, const QVariant &value);
|
||||
|
||||
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
|
||||
private:
|
||||
struct plot_info pInfo;
|
||||
struct plot_data *entry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue