aboutsummaryrefslogtreecommitdiff
path: root/confui/mainwindow.cpp
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-12 13:57:33 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-12 13:57:33 +0100
commit61dd8a5ee66734dfd53ee9be725c9e71fd8d5414 (patch)
treeda896421d93baa3a80a7c6ebb3a16fc25138516f /confui/mainwindow.cpp
parent8c21a929d06ed108b0e64f3892d036cd4cd67e51 (diff)
implement DYN_MEMBER_SIZEOF macro correctly and implement cd_cmd_response_sizeof
Diffstat (limited to 'confui/mainwindow.cpp')
-rw-r--r--confui/mainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/confui/mainwindow.cpp b/confui/mainwindow.cpp
index 1fd34c4..b5bbdf0 100644
--- a/confui/mainwindow.cpp
+++ b/confui/mainwindow.cpp
@@ -13,7 +13,10 @@ CDMeshConnector *g_cd_mesh_connector = nullptr;
CDSerialConnector *g_cd_serial = nullptr;
QApplication* g_cd_app = nullptr;
-CDMainWindow::~CDMainWindow() { delete this->mesh_connector; }
+CDMainWindow::~CDMainWindow() {
+ delete g_cd_mesh_connector;
+ delete g_cd_serial;
+}
CDMainWindow::CDMainWindow(QWidget *parent) : QMainWindow(parent) {
g_cd_mesh_connector = new CDMeshConnector();