Fix building on Windows.

This commit is contained in:
John Preston 2021-12-14 16:27:57 +04:00
parent 19320cc5d8
commit e7e34d50ba
1 changed files with 1 additions and 1 deletions

View File

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