Utils: Fix compiler warning on unix hosts

Change-Id: Iaac91d22f4df8ab15fb1ba232475bf8661d4f97b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2018-02-08 16:16:45 +01:00
parent 2cedb0531c
commit 3c0cd59059

View File

@@ -181,6 +181,8 @@ QTCREATOR_UTILS_EXPORT QString imageName(quint32 processId)
if (QueryFullProcessImageName(handle, 0, path, &pathLen))
result = QString::fromUtf16(reinterpret_cast<const ushort*>(path));
CloseHandle(handle);
#else
Q_UNUSED(processId);
#endif
return result;
}