diff options
author | kh <karsten.heimrich@theqtcompany.com> | 2014-11-21 12:06:07 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2014-11-21 14:02:15 +0100 |
commit | 44b12b11b2f86575f86b12c2e3172c4c038f4556 (patch) | |
tree | b1ef6562cc2ee045b4fdd505587d4e7b394b4e8a /src/libs/installer/qprocesswrapper.cpp | |
parent | 2e30849eb94cf6d72cbd105b02a94aa35681794c (diff) |
Use qint32 throughout the whole communication.
Change-Id: Id2d9ca3043b0d75a7ea93f9ac1f1467059cb1f0b
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/qprocesswrapper.cpp')
-rw-r--r-- | src/libs/installer/qprocesswrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/installer/qprocesswrapper.cpp b/src/libs/installer/qprocesswrapper.cpp index ac86374f2..5781ee14e 100644 --- a/src/libs/installer/qprocesswrapper.cpp +++ b/src/libs/installer/qprocesswrapper.cpp @@ -179,7 +179,7 @@ bool QProcessWrapper::waitForFinished(int msecs) if (connectToServer()) { m_lock.lockForWrite(); const bool value = callRemoteMethod<bool>(QLatin1String(Protocol::QProcessWaitForFinished), - msecs); + qint32(msecs)); m_lock.unlock(); return value; } @@ -191,7 +191,7 @@ bool QProcessWrapper::waitForStarted(int msecs) if (connectToServer()) { m_lock.lockForWrite(); const bool value = callRemoteMethod<bool>(QLatin1String(Protocol::QProcessWaitForStarted), - msecs); + qint32(msecs)); m_lock.unlock(); return value; } @@ -228,7 +228,7 @@ int QProcessWrapper::exitCode() const m_lock.unlock(); return value; } - return static_cast<int>(process.exitCode()); + return process.exitCode(); } QProcessWrapper::ExitStatus QProcessWrapper::exitStatus() const |