MacSystemTrayIcon: Replace use of C-style cast
This commit is contained in:
parent
22844716d1
commit
e31dd9f553
@ -82,7 +82,7 @@ class MacSystemTrayIconPrivate {
|
||||
|
||||
// Don't look now.
|
||||
// This must be called after our custom NSApplicationDelegate has been set.
|
||||
[(AppDelegate*)([NSApp delegate]) setDockMenu:dock_menu_];
|
||||
[reinterpret_cast<AppDelegate*>([NSApp delegate]) setDockMenu:dock_menu_];
|
||||
|
||||
ClearNowPlaying();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user