gui: PreviewCoordinator: Forward error() signal of client
This commit is contained in:
parent
02dd7b64b5
commit
cd98fe1fbb
@ -10,6 +10,7 @@ PreviewCoordinator::PreviewCoordinator()
|
|||||||
connect(&ipcPreviewClient, &IPCPreviewClient::finished, this, [&] { emit completedGeneration(); });
|
connect(&ipcPreviewClient, &IPCPreviewClient::finished, this, [&] { emit completedGeneration(); });
|
||||||
connect(this, &PreviewCoordinator::ipcStartGeneration, &ipcPreviewClient, &IPCPreviewClient::startGeneration,
|
connect(this, &PreviewCoordinator::ipcStartGeneration, &ipcPreviewClient, &IPCPreviewClient::startGeneration,
|
||||||
Qt::QueuedConnection);
|
Qt::QueuedConnection);
|
||||||
|
connect(&ipcPreviewClient, &IPCPreviewClient::error, this, [&](QString err) { emit error(err); });
|
||||||
|
|
||||||
this->ipcClientThread.start();
|
this->ipcClientThread.start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user