macos: Allow WARN/ERROR to report running status
update the hack of reading the log to detect running on macOS when using loglevel or warning or error
This commit is contained in:
parent
b6a1b57420
commit
1bbdd5d279
|
@ -381,7 +381,8 @@ void MainWindow::checkConnected(const QString& line)
|
|||
// TODO: implement ipc connection state messages to replace this hack.
|
||||
if (line.contains("started server") ||
|
||||
line.contains("connected to server") ||
|
||||
line.contains("server status: active"))
|
||||
line.contains("server status: active") ||
|
||||
line.contains("starting cocoa loop"))
|
||||
{
|
||||
setBarrierState(barrierConnected);
|
||||
|
||||
|
|
Loading…
Reference in New Issue