Autotests: solve warning for QProcess::ProcessState metatype registration

This commit is contained in:
Friedrich W. H. Kossebau 2017-06-03 01:16:11 +02:00
parent 2da0a9428d
commit c010a9fae0

View file

@ -86,6 +86,7 @@ void TestQtSurfaceExtension::testCloseWindow()
QVERIFY(extension);
QSignalSpy surfaceExtensionDestroyedSpy(extension, &QObject::destroyed);
QVERIFY(surfaceExtensionSpy.isValid());
qRegisterMetaType<QProcess::ProcessState>();
QSignalSpy processStateChangedSpy(&process, &QProcess::stateChanged);
QVERIFY(processStateChangedSpy.isValid());
extension->close();