Autotests: solve warning for QProcess::ProcessState metatype registration
This commit is contained in:
parent
2da0a9428d
commit
c010a9fae0
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ void TestQtSurfaceExtension::testCloseWindow()
|
||||||
QVERIFY(extension);
|
QVERIFY(extension);
|
||||||
QSignalSpy surfaceExtensionDestroyedSpy(extension, &QObject::destroyed);
|
QSignalSpy surfaceExtensionDestroyedSpy(extension, &QObject::destroyed);
|
||||||
QVERIFY(surfaceExtensionSpy.isValid());
|
QVERIFY(surfaceExtensionSpy.isValid());
|
||||||
|
qRegisterMetaType<QProcess::ProcessState>();
|
||||||
QSignalSpy processStateChangedSpy(&process, &QProcess::stateChanged);
|
QSignalSpy processStateChangedSpy(&process, &QProcess::stateChanged);
|
||||||
QVERIFY(processStateChangedSpy.isValid());
|
QVERIFY(processStateChangedSpy.isValid());
|
||||||
extension->close();
|
extension->close();
|
||||||
|
|
Loading…
Reference in a new issue