1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Add an assert and debug

This commit is contained in:
Leo Franchi
2012-02-15 08:29:09 -05:00
parent 9adc4be099
commit 638718a48c

View File

@@ -107,6 +107,9 @@ ResolverAccount::~ResolverAccount()
void void
ResolverAccount::authenticate() ResolverAccount::authenticate()
{ {
qDebug() << Q_FUNC_INFO << "Authenticating/starting resolver, exists?" << m_resolver;
Q_ASSERT( m_resolver );
if ( !m_resolver->running() ) if ( !m_resolver->running() )
m_resolver->start(); m_resolver->start();