diff options
Diffstat (limited to 'confui/mainwindow.cpp')
-rw-r--r-- | confui/mainwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/confui/mainwindow.cpp b/confui/mainwindow.cpp index ca78603..2d06268 100644 --- a/confui/mainwindow.cpp +++ b/confui/mainwindow.cpp @@ -6,8 +6,11 @@ #include "ui_tab_automations.h" #include "ui_tab_node_overview.h" +CDMeshConnector* g_cd_mesh_connector = nullptr; + CDMainWindow::CDMainWindow(QWidget *parent) : QMainWindow(parent) { - this->mesh_connector = new CDMeshConnector(); + g_cd_mesh_connector = new CDMeshConnector(); + this->mesh_connector = g_cd_mesh_connector; QMenuBar* menu_bar = new QMenuBar(this); menu_bar->addMenu("ayo"); |