Ticket #36581: patch-src-TrayIcon.cpp.diff
File patch-src-TrayIcon.cpp.diff, 748 bytes (added by james-mathiesen@…, 12 years ago) |
---|
-
src/TrayIcon.cpp
old new 41 41 #include <QPixmap> 42 42 #include <QToolTip> 43 43 44 #ifdef Q_WS_MAC 45 extern void qt_mac_set_dock_menu(QMenu *); 46 #endif 47 44 48 Amarok::TrayIcon::TrayIcon( QObject *parent ) 45 49 : KStatusNotifierItem( parent ) 46 50 , m_track( The::engineController()->currentTrack() ) … … 54 58 55 59 #ifdef Q_WS_MAC 56 60 // Add these functions to the dock icon menu in OS X 57 extern void qt_mac_set_dock_menu(QMenu *); 58 qt_mac_set_dock_menu( contextMenu() ); 61 ::qt_mac_set_dock_menu( contextMenu() ); 59 62 contextMenu()->addAction( ac->action( "playlist_playmedia" ) ); 60 63 contextMenu()->addSeparator(); 61 64 #endif