mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 05:10:52 +01:00
Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5579 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2006-2017 The QElectroTech Team
|
||||
Copyright 2006-2018 The QElectroTech Team
|
||||
This file is part of QElectroTech.
|
||||
|
||||
QElectroTech is free software: you can redistribute it and/or modify
|
||||
@@ -24,11 +24,10 @@
|
||||
#include "dynamicelementtextitem.h"
|
||||
|
||||
ReportElement::ReportElement(const ElementsLocation &location, const QString& link_type,QGraphicsItem *qgi, int *state) :
|
||||
Element(location, qgi, state)
|
||||
{
|
||||
link_type == "next_report"? m_link_type=NextReport : m_link_type=PreviousReport;
|
||||
link_type == "next_report"? m_inverse_report=PreviousReport : m_inverse_report=NextReport;
|
||||
}
|
||||
Element(location, qgi, state,
|
||||
link_type == "next_report"? Element::NextReport : Element::PreviousReport),
|
||||
m_inverse_report(link_type == "next_report"? Element::PreviousReport : Element::NextReport)
|
||||
{}
|
||||
|
||||
/**
|
||||
* @brief ReportElement::~ReportElement
|
||||
|
||||
Reference in New Issue
Block a user