gui: IPCPreviewClient: Raise error signal() instead of exception
这个提交包含在:
父节点
11af6e530e
当前提交
4aa850d5ed
@ -84,7 +84,8 @@ void IPCPreviewClient::start(RenderConfig config, const QVector<RenderTarget> &t
|
||||
} while(!stream.commitTransaction() && socket->state() == QLocalSocket::ConnectedState);
|
||||
if(numTarget != targets.count())
|
||||
{
|
||||
throw std::runtime_error("Server reports less targets than it should");
|
||||
emit error("IPC Error: Server reports less targets than it should");
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户