diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2016-02-24 14:12:44 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2016-02-24 16:05:05 +0000 |
commit | 696a4bc2f96fb84c38ff40507608e834d2cd79c7 (patch) | |
tree | c8763c62a239b49e8f810c8c52a458ecff520e98 /tests/auto/corelib/io | |
parent | 479167cd4e7102b4cff654a13cc43298bbb638d0 (diff) |
Remove legacy from tst_qprocess.cpp
The windows.h include is not needed, the enums are properly known to
the metaobject system nowadays, and qprocess_p.h already has a
QT_NO_PROCESS guard.
Change-Id: I6bbdce19f097feb8260c51a29425279049aa0192
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qprocess/tst_qprocess.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp index b7dd58870c..8b311921e2 100644 --- a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp +++ b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp @@ -45,15 +45,7 @@ #include <QtNetwork/QHostInfo> #include <stdlib.h> -#ifndef QT_NO_PROCESS # include <private/qprocess_p.h> // only so we get QPROCESS_USE_SPAWN -# if defined(Q_OS_WIN) -# include <windows.h> -# endif - -Q_DECLARE_METATYPE(QProcess::ExitStatus); -Q_DECLARE_METATYPE(QProcess::ProcessState); -#endif typedef void (QProcess::*QProcessFinishedSignal1)(int); typedef void (QProcess::*QProcessFinishedSignal2)(int, QProcess::ExitStatus); |