Remove dependency to QWidget / QMainWindow
This not GUI library!
This commit is contained in:
@@ -49,7 +49,7 @@ bool T_com::readFromSerial(QByteArray &data, uint16_t &sendLength)
|
||||
// -------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
T_com::T_com(QWidget *parent) : QMainWindow(parent)
|
||||
T_com::T_com(QObject *parent) : QObject(parent)
|
||||
{
|
||||
// port settings come from tabCom->Sdata->serial
|
||||
|
||||
|
@@ -19,7 +19,7 @@ static uint8_t cycl_running;
|
||||
|
||||
//static bool datif_DCdataValid;
|
||||
|
||||
T_datif::T_datif(QWidget *parent) : QMainWindow(parent)
|
||||
T_datif::T_datif(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
myDCIF = new T_prot();
|
||||
|
Reference in New Issue
Block a user