screencasting_test: Adapt to KPipeWire change

This commit is contained in:
Aleix Pol 2024-01-19 01:41:25 +01:00
parent 36bec2d941
commit 0b36919b7c

View file

@ -114,7 +114,7 @@ std::optional<QImage> ScreencastingTest::oneFrameAndClose(Test::ScreencastingStr
std::optional<QImage> img;
connect(&pwStream, &PipeWireSourceStream::frameReceived, qGuiApp, [&img](const PipeWireFrame &frame) {
img = frame.image;
img = frame.dataFrame->toImage();
});
QSignalSpy spy(&pwStream, &PipeWireSourceStream::frameReceived);