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:
@@ -127,6 +127,7 @@ Source::setStats( const QVariantMap& m )
|
||||
emit stateChanged();
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
Source::nodeId() const
|
||||
{
|
||||
@@ -134,6 +135,7 @@ Source::nodeId() const
|
||||
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
Source::friendlyName() const
|
||||
{
|
||||
@@ -425,7 +427,7 @@ Source::onStateChanged( DBSyncConnection::State newstate, DBSyncConnection::Stat
|
||||
unsigned int
|
||||
Source::trackCount() const
|
||||
{
|
||||
return m_stats.value( "numfiles" ).toUInt();
|
||||
return m_stats.value( "numfiles", 0 ).toUInt();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user