mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 15:16:34 +02:00
Try to fix compilation with qt4
This commit is contained in:
@@ -412,7 +412,7 @@ SettingsDialog::onCustomContextMenu( const QPoint& point )
|
|||||||
void
|
void
|
||||||
SettingsDialog::onShowDebuggerForSelectedAccount()
|
SettingsDialog::onShowDebuggerForSelectedAccount()
|
||||||
{
|
{
|
||||||
ResolverAccount* account = m_accountProxy->data( m_accountsWidgetUi->accountsView->currentIndex(), AccountModel::AccountData ).value< ResolverAccount* >();
|
ResolverAccount* account = qobject_cast< ResolverAccount* >( m_accountProxy->data( m_accountsWidgetUi->accountsView->currentIndex(), AccountModel::AccountData ).value< Tomahawk::Accounts::Account* >() );
|
||||||
Tomahawk::JSResolver* jsResolver = qobject_cast< Tomahawk::JSResolver* >( account->resolver() );
|
Tomahawk::JSResolver* jsResolver = qobject_cast< Tomahawk::JSResolver* >( account->resolver() );
|
||||||
jsResolver->scriptAccount()->showDebugger();
|
jsResolver->scriptAccount()->showDebugger();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user