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:
parent
e2b99b2628
commit
2805b08989
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user