gui: PreviewCoordinator: Forward error() signal of client

This commit is contained in:
Albert S. 2024-05-20 19:04:46 +02:00
parent 02dd7b64b5
commit cd98fe1fbb

View File

@ -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();
} }