Fix building on Windows.

This commit is contained in:
John Preston 2021-12-14 16:27:57 +04:00
parent 19320cc5d8
commit e7e34d50ba

View file

@ -428,7 +428,7 @@ void MainWindow::updateIconCounters() {
}
void MainWindow::initHook() {
ps_hWnd = static_cast<HWND>(winId());
ps_hWnd = reinterpret_cast<HWND>(winId());
if (!ps_hWnd) {
return;
}