mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-20 10:39:59 +01:00
QAbstractTableModel explicitly initialized in copy constructor
warning: base class ‘class QAbstractTableModel’ should be explicitly initialized in the copy constructor [-Wextra]
This commit is contained in:
committed by
Laurent Trinques
parent
521ed615d9
commit
4a3b7e708a
@@ -43,7 +43,8 @@ NomenclatureModel::NomenclatureModel(QETProject *project, QObject *parent) :
|
|||||||
* @brief NomenclatureModel::NomenclatureModel
|
* @brief NomenclatureModel::NomenclatureModel
|
||||||
* @param other_model
|
* @param other_model
|
||||||
*/
|
*/
|
||||||
NomenclatureModel::NomenclatureModel(const NomenclatureModel &other_model)
|
NomenclatureModel::NomenclatureModel(const NomenclatureModel &other_model):
|
||||||
|
QAbstractTableModel(other_model.parent())
|
||||||
{
|
{
|
||||||
this->setParent(other_model.parent());
|
this->setParent(other_model.parent());
|
||||||
m_project = other_model.m_project;
|
m_project = other_model.m_project;
|
||||||
|
|||||||
Reference in New Issue
Block a user