1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-08 10:02:29 +02:00

Compile on osx

This commit is contained in:
Leo Franchi 2011-06-17 13:25:09 -04:00
parent e2b99b2628
commit 2805b08989

View File

@ -219,7 +219,7 @@ TomahawkApp::init()
// Register shortcut handler for this platform
#ifdef Q_WS_MAC
m_shortcutHandler = QWeakPointer<MacShortcutHandler>( new MacShortcutHandler( this ) );
Tomahawk::setShortcutHandler( static_cast<MacShortcutHandler*>( m_shortcutHandler) );
Tomahawk::setShortcutHandler( static_cast<MacShortcutHandler*>( m_shortcutHandler.data() ) );
Tomahawk::setApplicationHandler( this );