Fix compilation warning
This commit is contained in:
parent
99868323d7
commit
f4159e06f6
|
@ -98,9 +98,9 @@ OSDPretty::OSDPretty(Mode mode, QWidget *parent)
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
// Don't show the window in the taskbar. Qt::ToolTip does this too, but it
|
// Don't show the window in the taskbar. Qt::ToolTip does this too, but it
|
||||||
// adds an extra ugly shadow.
|
// 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;
|
ex_style |= WS_EX_NOACTIVATE;
|
||||||
SetWindowLong(winId(), GWL_EXSTYLE, ex_style);
|
SetWindowLong((HWND) winId(), GWL_EXSTYLE, ex_style);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Mode settings
|
// Mode settings
|
||||||
|
|
Loading…
Reference in New Issue