mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Add destructor to Machine_info class to fix segfault
This commit is contained in:
committed by
Martin Marmsoler
parent
9658a88c18
commit
dad32d5897
@@ -147,7 +147,15 @@ void Machine_info::send_info_to_debug()
|
|||||||
+ " x "
|
+ " x "
|
||||||
+ QString::number(pc.screen.height[ii])
|
+ QString::number(pc.screen.height[ii])
|
||||||
+ " )";
|
+ " )";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
@brief Machine_info::~Machine_info
|
||||||
|
destructor
|
||||||
|
*/
|
||||||
|
Machine_info::~Machine_info()
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ public:
|
|||||||
int32_t i_max_screen_height();
|
int32_t i_max_screen_height();
|
||||||
QString compilation_info();
|
QString compilation_info();
|
||||||
void send_info_to_debug();
|
void send_info_to_debug();
|
||||||
|
~Machine_info();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user