diff options
Diffstat (limited to 'application/InstanceWindow.cpp')
-rw-r--r-- | application/InstanceWindow.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/application/InstanceWindow.cpp b/application/InstanceWindow.cpp index 6b24f488..3bfc78db 100644 --- a/application/InstanceWindow.cpp +++ b/application/InstanceWindow.cpp @@ -46,13 +46,8 @@ InstanceWindow::InstanceWindow(InstancePtr instance, QWidget *parent) // Add page container { - auto mainLayout = new QVBoxLayout; auto provider = std::make_shared<InstancePageProvider>(m_instance); m_container = new PageContainer(provider, "console", this); - mainLayout->addWidget(m_container); - mainLayout->setSpacing(0); - mainLayout->setContentsMargins(0,0,0,0); - setLayout(mainLayout); setCentralWidget(m_container); } |