1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-27 08:43:01 +01:00

Fix compilation warning

This commit is contained in:
Jonas Kvinge 2018-05-04 20:28:44 +02:00
parent 99868323d7
commit f4159e06f6

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