mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 05:11:44 +02:00
* Style fixes.
This commit is contained in:
@@ -389,7 +389,7 @@ MusicScanner::readFile( const QFileInfo& fi )
|
|||||||
int bitrate = 0;
|
int bitrate = 0;
|
||||||
int duration = 0;
|
int duration = 0;
|
||||||
|
|
||||||
Tag *tag = Tag::fromFile( f );
|
Tag* tag = Tag::fromFile( f );
|
||||||
if ( f.audioProperties() )
|
if ( f.audioProperties() )
|
||||||
{
|
{
|
||||||
TagLib::AudioProperties *properties = f.audioProperties();
|
TagLib::AudioProperties *properties = f.audioProperties();
|
||||||
|
@@ -59,6 +59,7 @@ PlayableModel::PlayableModel( QObject* parent, bool loading )
|
|||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PlayableModel::PlayableModel( QObject* parent, PlayableModelPrivate* d )
|
PlayableModel::PlayableModel( QObject* parent, PlayableModelPrivate* d )
|
||||||
: QAbstractItemModel( parent )
|
: QAbstractItemModel( parent )
|
||||||
, d_ptr( d )
|
, d_ptr( d )
|
||||||
|
@@ -173,8 +173,8 @@ PlayableProxyModel::filterAcceptsRow( int sourceRow, const QModelIndex& sourcePa
|
|||||||
{
|
{
|
||||||
s = s.toLower();
|
s = s.toLower();
|
||||||
if ( !pi->query()->track()->artist().toLower().contains( s ) &&
|
if ( !pi->query()->track()->artist().toLower().contains( s ) &&
|
||||||
!pi->query()->track()->album().toLower().contains( s ) &&
|
!pi->query()->track()->album().toLower().contains( s ) &&
|
||||||
!pi->query()->track()->track().toLower().contains( s ) )
|
!pi->query()->track()->track().toLower().contains( s ) )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user