Try fixing crash in QConcatenateTablesProxyModel

This commit is contained in:
Tobias Fella
2025-09-18 15:23:00 +02:00
committed by Tobias Fella
parent 196ef535ca
commit 1070427a0d

View File

@@ -31,7 +31,7 @@ bool MessageModel::m_threadsEnabled = false;
MessageModel::MessageModel(QObject *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]() {
m_resetting = true;