summaryrefslogtreecommitdiffstats
path: root/application/InstanceWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/InstanceWindow.cpp')
-rw-r--r--application/InstanceWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/InstanceWindow.cpp b/application/InstanceWindow.cpp
index 2e876fea..5895ca3a 100644
--- a/application/InstanceWindow.cpp
+++ b/application/InstanceWindow.cpp
@@ -47,7 +47,7 @@ InstanceWindow::InstanceWindow(InstancePtr instance, QWidget *parent)
// Add page container
{
auto provider = std::make_shared<InstancePageProvider>(m_instance);
- m_container = new PageContainer(provider, "console", this);
+ m_container = new PageContainer(provider.get(), "console", this);
m_container->setParentContainer(this);
setCentralWidget(m_container);
}