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);
|
||||
QSignalSpy surfaceExtensionDestroyedSpy(extension, &QObject::destroyed);
|
||||
QVERIFY(surfaceExtensionSpy.isValid());
|
||||
qRegisterMetaType<QProcess::ProcessState>();
|
||||
QSignalSpy processStateChangedSpy(&process, &QProcess::stateChanged);
|
||||
QVERIFY(processStateChangedSpy.isValid());
|
||||
extension->close();
|
||||
|
|
Loading…
Reference in a new issue