diff --git a/MainWindow.cpp b/MainWindow.cpp index d110865..2d35171 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -1398,7 +1398,7 @@ void MainWindow::createLayout() sourceCanvasToolbar = new MapperGLCanvasToolbar(sourceCanvas, this); QVBoxLayout* sourceLayout = new QVBoxLayout; - QWidget* sourcePanel = new QWidget(this); + sourcePanel = new QWidget(this); sourceLayout->setContentsMargins(0, 0, 0, 0); sourceLayout->addWidget(sourceCanvas); @@ -1412,7 +1412,7 @@ void MainWindow::createLayout() destinationCanvasToolbar = new MapperGLCanvasToolbar(destinationCanvas, this); QVBoxLayout* destinationLayout = new QVBoxLayout; - QWidget* destinationPanel = new QWidget(this); + destinationPanel = new QWidget(this); destinationLayout->setContentsMargins(0, 0, 0, 0); destinationLayout->addWidget(destinationCanvas); diff --git a/MainWindow.h b/MainWindow.h index 3a51dfb..fec4b4d 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -370,8 +370,10 @@ private: MapperGLCanvas* sourceCanvas; MapperGLCanvasToolbar* sourceCanvasToolbar; + QWidget* sourcePanel; MapperGLCanvas* destinationCanvas; MapperGLCanvasToolbar* destinationCanvasToolbar; + QWidget* destinationPanel; OutputGLWindow* outputWindow; ConsoleWindow* consoleWindow;