1
0
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:
Leo Franchi 2011-07-14 10:42:27 +02:00
parent 3a1083d2b3
commit a4a274531c

View File

@ -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 );