More hints

For serial ports which look like PM3 hardware, show a '*' behind them.
Show message box if the GUI fails to connect to the hardware
This commit is contained in:
wh201906
2022-11-23 15:26:15 +08:00
parent b2cb1ea8e7
commit a9b19f92d6
4 changed files with 28 additions and 5 deletions
+3
View File
@@ -61,7 +61,10 @@ void PM3Process::connectPM3(const QString& path, const QStringList args)
emit PM3StatedChanged(true, result);
}
else
{
emit HWConnectFailed();
kill();
}
}
setRequiringOutput(false);
+1
View File
@@ -48,6 +48,7 @@ signals:
void PM3StatedChanged(bool st, const QString& info = "");
void newOutput(const QString& output);
void changeClientType(Util::ClientType);
void HWConnectFailed();
};
#endif // PM3PROCESS_H