mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
remove the class comment item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5277 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "simpleelement.h"
|
||||
#include "commentitem.h"
|
||||
#include "diagram.h"
|
||||
|
||||
/**
|
||||
@@ -27,9 +26,7 @@
|
||||
* @param state
|
||||
*/
|
||||
SimpleElement::SimpleElement(const ElementsLocation &location, QGraphicsItem *qgi, int *state) :
|
||||
CustomElement(location, qgi, state),
|
||||
m_comment_item (nullptr),
|
||||
m_location_item (nullptr)
|
||||
CustomElement(location, qgi, state)
|
||||
{
|
||||
m_link_type = Simple;
|
||||
}
|
||||
@@ -37,9 +34,7 @@ SimpleElement::SimpleElement(const ElementsLocation &location, QGraphicsItem *qg
|
||||
/**
|
||||
* @brief SimpleElement::~SimpleElement
|
||||
*/
|
||||
SimpleElement::~SimpleElement() {
|
||||
if (m_comment_item) delete m_comment_item;
|
||||
}
|
||||
SimpleElement::~SimpleElement() {}
|
||||
|
||||
/**
|
||||
* @brief SimpleElement::initLink
|
||||
|
||||
Reference in New Issue
Block a user