screencasting_test: Declaring the metatype is unnecessary now

wilder/Plasma/6.2
Aleix Pol 2 years ago committed by Vlad Zahorodnii
parent daa8785e34
commit fd7a67d92e
  1. 4
      autotests/integration/screencasting_test.cpp

@ -23,8 +23,6 @@
#include <QPainter> #include <QPainter>
#include <QScreen> #include <QScreen>
Q_DECLARE_METATYPE(PipeWireFrame);
#define QCOMPAREIMG(actual, expected, id) \ #define QCOMPAREIMG(actual, expected, id) \
{ \ { \
if ((actual) != (expected)) { \ if ((actual) != (expected)) { \
@ -49,8 +47,6 @@ public:
ScreencastingTest() ScreencastingTest()
: GenericSceneOpenGLTest(QByteArrayLiteral("O2")) : GenericSceneOpenGLTest(QByteArrayLiteral("O2"))
{ {
qRegisterMetaType<PipeWireFrame>();
auto wrap = [this](const QString &process, const QStringList &arguments = {}) { auto wrap = [this](const QString &process, const QStringList &arguments = {}) {
// Make sure PipeWire is running. If it's already running it will just exit // Make sure PipeWire is running. If it's already running it will just exit
QProcess *p = new QProcess(this); QProcess *p = new QProcess(this);

Loading…
Cancel
Save