Hallo everybody.
I have a problem with using connect between two different objects and methods, here
is some of the code:
this
->_alarmPanelLed1
= new AlarmPanelLed
(QPointF(-205,
-225),
"VHF1", Qt
::red);
this->_alarmPanelScene->addItem(this->_alarmPanelLed1);
connect(this->_alarmPanelLed1, SIGNAL(lightChanged(bool)), this->_comThread, SLOT(lightChanged(bool)) );
this->_alarmPanelLed1 = new AlarmPanelLed(QPointF(-205,-225), "VHF1", Qt::red);
this->_alarmPanelScene->addItem(this->_alarmPanelLed1);
connect(this->_alarmPanelLed1, SIGNAL(lightChanged(bool)), this->_comThread, SLOT(lightChanged(bool)) );
To copy to clipboard, switch view to plain text mode
And here is the error message i got:
Unhandled exception at 0x00430044 in hardwaretester.exe: 0xC000008C: Array bounds exceeded.
Bookmarks