Fix memory leaks
This commit is contained in:
committed by
Tobias Fella
parent
7313386903
commit
6dce1564b7
@@ -13,7 +13,7 @@
|
||||
|
||||
CompletionModel::CompletionModel(QObject *parent)
|
||||
: QAbstractListModel(parent)
|
||||
, m_filterModel(new CompletionProxyModel())
|
||||
, m_filterModel(new CompletionProxyModel(this))
|
||||
, m_emojiModel(new QConcatenateTablesProxyModel(this))
|
||||
{
|
||||
connect(this, &CompletionModel::textChanged, this, &CompletionModel::updateCompletion);
|
||||
|
||||
Reference in New Issue
Block a user