Set parent for LogModel

Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
Yihe Li
2025-04-15 23:11:54 +08:00
parent 521302a962
commit 29b81e7163

View File

@ -53,7 +53,7 @@ OtherLogsPage::OtherLogsPage(InstancePtr instance, IPathMatcher::Ptr fileFilter,
, m_path(instance->getLogFileRoot())
, m_fileFilter(fileFilter)
, m_watcher(new RecursiveFileSystemWatcher(this))
, m_model(new LogModel())
, m_model(new LogModel(this))
{
ui->setupUi(this);
ui->tabWidget->tabBar()->hide();