Add destructor to Machine_info class to fix segfault

This commit is contained in:
Simon De Backer
2020-10-19 16:56:09 +02:00
committed by Martin Marmsoler
parent 9658a88c18
commit dad32d5897
2 changed files with 10 additions and 1 deletions

View File

@@ -150,6 +150,14 @@ void Machine_info::send_info_to_debug()
}
}
/**
@brief Machine_info::~Machine_info
destructor
*/
Machine_info::~Machine_info()
{
}
/**
@brief Machine_info::init_get_Screen_info
Finds the largest screen and saves the values

View File

@@ -34,6 +34,7 @@ public:
int32_t i_max_screen_height();
QString compilation_info();
void send_info_to_debug();
~Machine_info();
signals: