1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02: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 // Register shortcut handler for this platform
#ifdef Q_WS_MAC #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::setShortcutHandler( static_cast<MacShortcutHandler*>( m_shortcutHandler.data() ) );
Tomahawk::setApplicationHandler( this ); Tomahawk::setApplicationHandler( this );