screencasting_test: Adapt to KPipeWire change
This commit is contained in:
parent
36bec2d941
commit
0b36919b7c
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ std::optional<QImage> ScreencastingTest::oneFrameAndClose(Test::ScreencastingStr
|
||||||
|
|
||||||
std::optional<QImage> img;
|
std::optional<QImage> img;
|
||||||
connect(&pwStream, &PipeWireSourceStream::frameReceived, qGuiApp, [&img](const PipeWireFrame &frame) {
|
connect(&pwStream, &PipeWireSourceStream::frameReceived, qGuiApp, [&img](const PipeWireFrame &frame) {
|
||||||
img = frame.image;
|
img = frame.dataFrame->toImage();
|
||||||
});
|
});
|
||||||
|
|
||||||
QSignalSpy spy(&pwStream, &PipeWireSourceStream::frameReceived);
|
QSignalSpy spy(&pwStream, &PipeWireSourceStream::frameReceived);
|
||||||
|
|
Loading…
Reference in a new issue