Fix -Wclazy-connect-not-normalized in Windows code
qwindowsxpstyle.cpp(289,35): warning: Signature is not normalized. Use void* instead of void * [-Wclazy-connect-not-normalized] qwindowsxpstyle.cpp(292,35): warning: Signature is not normalized. Use void* instead of void * [-Wclazy-connect-not-normalized] Change-Id: I773530452c0837c5066f9174c25ae37e57086e76 Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
This commit is contained in:
parent
0fe3ff5c51
commit
155f954d99
@ -286,10 +286,10 @@ static inline HWND createTreeViewHelperWindow()
|
||||
void *hwnd = 0;
|
||||
void *wndProc = reinterpret_cast<void *>(DefWindowProc);
|
||||
if (QMetaObject::invokeMethod(ni, "createMessageWindow", Qt::DirectConnection,
|
||||
Q_RETURN_ARG(void *, hwnd),
|
||||
Q_RETURN_ARG(void*, hwnd),
|
||||
Q_ARG(QString, QStringLiteral("QTreeViewThemeHelperWindowClass")),
|
||||
Q_ARG(QString, QStringLiteral("QTreeViewThemeHelperWindow")),
|
||||
Q_ARG(void *, wndProc)) && hwnd) {
|
||||
Q_ARG(void*, wndProc)) && hwnd) {
|
||||
return reinterpret_cast<HWND>(hwnd);
|
||||
}
|
||||
}
|
||||
|
@ -263,7 +263,7 @@ static bool getCaptionQFont(int dpi, QFont *result)
|
||||
QPlatformNativeInterface *ni = QGuiApplication::platformNativeInterface();
|
||||
return ni && QMetaObject::invokeMethod(ni, "logFontToQFont", Qt::DirectConnection,
|
||||
Q_RETURN_ARG(QFont, *result),
|
||||
Q_ARG(const void *, &logFont),
|
||||
Q_ARG(const void*, &logFont),
|
||||
Q_ARG(int, dpi));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user