MacSystemTrayIcon: Replace use of C-style cast
This commit is contained in:
@@ -82,7 +82,7 @@ class MacSystemTrayIconPrivate {
|
|||||||
|
|
||||||
// Don't look now.
|
// Don't look now.
|
||||||
// This must be called after our custom NSApplicationDelegate has been set.
|
// 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();
|
ClearNowPlaying();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user