mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
Fix shortcuts on OS X
This commit is contained in:
parent
3a1083d2b3
commit
a4a274531c
@ -246,7 +246,7 @@ TomahawkApp::init()
|
||||
|
||||
// Register shortcut handler for this platform
|
||||
#ifdef Q_WS_MAC
|
||||
m_shortcutHandler = QWeakPointer<MacShortcutHandler>( new MacShortcutHandler( this ) );
|
||||
m_shortcutHandler = QWeakPointer<Tomahawk::ShortcutHandler>( new MacShortcutHandler( this ) );
|
||||
Tomahawk::setShortcutHandler( static_cast<MacShortcutHandler*>( m_shortcutHandler.data() ) );
|
||||
|
||||
Tomahawk::setApplicationHandler( this );
|
||||
|
Loading…
x
Reference in New Issue
Block a user