Fix HWND retrieval on Windows.
This commit is contained in:
parent
26a8f46634
commit
eaea768ca0
1 changed files with 1 additions and 1 deletions
|
|
@ -740,7 +740,7 @@ HWND GetWindowHandle(not_null<QWidget*> widget) {
|
||||||
}
|
}
|
||||||
|
|
||||||
HWND GetWindowHandle(not_null<QWindow*> window) {
|
HWND GetWindowHandle(not_null<QWindow*> window) {
|
||||||
return static_cast<HWND>(window->winId());
|
return reinterpret_cast<HWND>(window->winId());
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendWMPaintForce(not_null<QWidget*> widget) {
|
void SendWMPaintForce(not_null<QWidget*> widget) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue