This commit is contained in:
Klaus Basan
2017-08-09 02:42:33 +02:00
committed by Mathew Sutcliffe
parent f972fdf715
commit da47be641a

View File

@@ -20,7 +20,7 @@ namespace BlackMisc
CIdentifiable::CIdentifiable(QObject *object) : m_identifier(object->objectName()) CIdentifiable::CIdentifiable(QObject *object) : m_identifier(object->objectName())
{ {
// if the object name changes we update our origiginator // if the object name changes we update our originator
this->m_connection = QObject::connect(object, &QObject::objectNameChanged, [this, object]() this->m_connection = QObject::connect(object, &QObject::objectNameChanged, [this, object]()
{ {
this->m_identifier = CIdentifier(object->objectName()); this->m_identifier = CIdentifier(object->objectName());