Fix crash when close project

At time of closing project, if a master element(may be every linkable
element) is selected and the editor dock display a lot of available
slave, qet crash.
This commit is contained in:
Claveau Joshua
2020-04-09 16:12:21 +02:00
parent 94aa5c0247
commit 017f78fb13
4 changed files with 18 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
Copyright 2006-2019 The QElectroTech Team
This file is part of QElectroTech.
@@ -102,8 +102,6 @@ class DiagramView : public QGraphicsView
bool gestures() const;
signals:
/// Signal emitted after the selection changed
void selectionChanged();
/// Signal emitted after the selection mode changed
void modeChanged();
/// Signal emitted after the diagram title changed