forked from qt-creator/qt-creator
Utils: Fix compiler warning on unix hosts
Change-Id: Iaac91d22f4df8ab15fb1ba232475bf8661d4f97b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user