mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-05 12:56:52 +01:00
OSDPretty: Remove use of C-style cast
This commit is contained in:
parent
184c39bbb7
commit
a217faae7c
@ -108,9 +108,9 @@ OSDPretty::OSDPretty(Mode mode, QWidget *parent)
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
// Don't show the window in the taskbar. Qt::ToolTip does this too, but it adds an extra ugly shadow.
|
||||
int ex_style = GetWindowLong((HWND)winId(), GWL_EXSTYLE);
|
||||
int ex_style = GetWindowLong(reinterpret_cast<HWND>(winId()), GWL_EXSTYLE);
|
||||
ex_style |= WS_EX_NOACTIVATE;
|
||||
SetWindowLong((HWND)winId(), GWL_EXSTYLE, ex_style);
|
||||
SetWindowLong(reinterpret_cast<HWND>(winId()), GWL_EXSTYLE, ex_style);
|
||||
#endif
|
||||
|
||||
// Mode settings
|
||||
|
Loading…
Reference in New Issue
Block a user