mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 09:49:42 +01:00
Make factory name show up in accounts list
This commit is contained in:
parent
38211e166f
commit
dd1418f1a3
@ -332,7 +332,7 @@ AccountModel::data( const QModelIndex& index, int role ) const
|
||||
switch ( role )
|
||||
{
|
||||
case Qt::DisplayRole:
|
||||
return acct->accountFriendlyName();
|
||||
return !acct->accountFriendlyName().isEmpty() ? acct->accountFriendlyName() : node->factory->prettyName();
|
||||
case Qt::DecorationRole:
|
||||
return acct->icon();
|
||||
case DescriptionRole:
|
||||
|
Loading…
x
Reference in New Issue
Block a user