Fix remaining use of QTEST_NOOP_MAIN
QTEST_NOOP_MAIN was removed in Qt 5, but was still in the source of the QProcessEnvironment auto test. Change-Id: I0048c330c9d4e99c46192cc05ffd3b77d404fb6d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Jason McDonald <macadder1@gmail.com>
This commit is contained in:
parent
f6a7092309
commit
3097129192
@ -43,10 +43,6 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QProcessEnvironment>
|
#include <QProcessEnvironment>
|
||||||
|
|
||||||
#ifdef QT_NO_PROCESS
|
|
||||||
QTEST_NOOP_MAIN
|
|
||||||
#else
|
|
||||||
|
|
||||||
class tst_QProcessEnvironment: public QObject
|
class tst_QProcessEnvironment: public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@ -322,4 +318,3 @@ void tst_QProcessEnvironment::putenv()
|
|||||||
QTEST_MAIN(tst_QProcessEnvironment)
|
QTEST_MAIN(tst_QProcessEnvironment)
|
||||||
|
|
||||||
#include "tst_qprocessenvironment.moc"
|
#include "tst_qprocessenvironment.moc"
|
||||||
#endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user