kopia lustrzana https://gitlab.com/eliggett/wfview
Log when port is being closed
rodzic
3deb7ab6ec
commit
181c2eeb07
|
@ -65,6 +65,7 @@ commHandler::commHandler(QString portName, quint32 baudRate, quint8 wfFormat)
|
|||
|
||||
commHandler::~commHandler()
|
||||
{
|
||||
qInfo(logSerial()) << "Closing serial port: " << port->portName();
|
||||
if (isConnected) {
|
||||
this->closePort();
|
||||
}
|
||||
|
|
|
@ -35,10 +35,10 @@ void selectRadio::populate(QList<radio_cap_packet> radios)
|
|||
|
||||
void selectRadio::setInUse(quint8 radio, quint8 busy, QString user, QString ip)
|
||||
{
|
||||
if ((radio > 0)&& !this->isVisible()) {
|
||||
qInfo() << "setInUse: radio:" << radio <<"busy" << busy << "user" << user << "ip"<<ip;
|
||||
this->setVisible(true);
|
||||
}
|
||||
//if ((radio > 0)&& !this->isVisible()) {
|
||||
// qInfo() << "setInUse: radio:" << radio <<"busy" << busy << "user" << user << "ip"<<ip;
|
||||
// this->setVisible(true);
|
||||
//}
|
||||
ui->table->setItem(radio, 3, new QTableWidgetItem(user));
|
||||
ui->table->setItem(radio, 4, new QTableWidgetItem(ip));
|
||||
for (int f = 0; f < 5; f++) {
|
||||
|
|
Ładowanie…
Reference in New Issue