gui: PreviewCoordinator: Forward error() signal of client

This commit is contained in:
Albert S. 2024-05-20 19:04:46 +02:00
parent 667ed0cd8b
commit 1f9c048838

View File

@ -10,6 +10,7 @@ PreviewCoordinator::PreviewCoordinator()
connect(&ipcPreviewClient, &IPCPreviewClient::finished, this, [&] { emit completedGeneration(); });
connect(this, &PreviewCoordinator::ipcStartGeneration, &ipcPreviewClient, &IPCPreviewClient::startGeneration,
Qt::QueuedConnection);
connect(&ipcPreviewClient, &IPCPreviewClient::error, this, [&](QString err) { emit error(err); });
this->ipcClientThread.start();
}