Fix compilation warning

This commit is contained in:
Jonas Kvinge 2018-05-04 20:28:44 +02:00
parent 99868323d7
commit f4159e06f6
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ OSDPretty::OSDPretty(Mode mode, QWidget *parent)
#ifdef Q_OS_WIN32
// Don't show the window in the taskbar. Qt::ToolTip does this too, but it
// adds an extra ugly shadow.
int ex_style = GetWindowLong(winId(), GWL_EXSTYLE);
int ex_style = GetWindowLong((HWND) winId(), GWL_EXSTYLE);
ex_style |= WS_EX_NOACTIVATE;
SetWindowLong(winId(), GWL_EXSTYLE, ex_style);
SetWindowLong((HWND) winId(), GWL_EXSTYLE, ex_style);
#endif
// Mode settings