1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Show description from factory for manual resolvers

This commit is contained in:
Leo Franchi 2012-03-09 22:37:25 -05:00
parent 1aeb5ed807
commit 6dbcac58a4

View File

@ -311,7 +311,7 @@ AccountModel::data( const QModelIndex& index, int role ) const
case Qt::DecorationRole:
return acct->icon();
case DescriptionRole:
return node->type == AccountModelNode::ManualResolverType ? QString() : node->factory->description();
return node->factory ? node->factory->description() : QString();
case Qt::CheckStateRole:
return acct->enabled() ? Qt::Checked : Qt::Unchecked;
case AccountData: