Try fixing crash in QConcatenateTablesProxyModel
This commit is contained in:
committed by
Tobias Fella
parent
196ef535ca
commit
1070427a0d
@@ -31,7 +31,7 @@ bool MessageModel::m_threadsEnabled = false;
|
|||||||
MessageModel::MessageModel(QObject *parent)
|
MessageModel::MessageModel(QObject *parent)
|
||||||
: QAbstractListModel(parent)
|
: QAbstractListModel(parent)
|
||||||
{
|
{
|
||||||
connect(this, &MessageModel::newEventAdded, this, &MessageModel::createEventObjects);
|
connect(this, &MessageModel::newEventAdded, this, &MessageModel::createEventObjects, Qt::QueuedConnection);
|
||||||
|
|
||||||
connect(this, &MessageModel::modelAboutToReset, this, [this]() {
|
connect(this, &MessageModel::modelAboutToReset, this, [this]() {
|
||||||
m_resetting = true;
|
m_resetting = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user