Set parent for LogModel
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
521302a962
commit
29b81e7163
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ OtherLogsPage::OtherLogsPage(InstancePtr instance, IPathMatcher::Ptr fileFilter,
|
||||||
, m_path(instance->getLogFileRoot())
|
, m_path(instance->getLogFileRoot())
|
||||||
, m_fileFilter(fileFilter)
|
, m_fileFilter(fileFilter)
|
||||||
, m_watcher(new RecursiveFileSystemWatcher(this))
|
, m_watcher(new RecursiveFileSystemWatcher(this))
|
||||||
, m_model(new LogModel())
|
, m_model(new LogModel(this))
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->tabWidget->tabBar()->hide();
|
ui->tabWidget->tabBar()->hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue