1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 08:04:25 +02:00

Use C++11 style initialisation.

This way we already initialise them in the initialiser-list-style but do
not need to add them to each initialiser list separately.
This commit is contained in:
Uwe L. Korn
2014-10-20 22:45:18 +02:00
parent 9dd35e0699
commit 372c16794a
2 changed files with 2 additions and 5 deletions

View File

@@ -118,9 +118,6 @@ PlayableItem::PlayableItem( const Tomahawk::source_ptr& source, PlayableItem* pa
void
PlayableItem::init( int row )
{
m_fetchingMore = false;
m_isPlaying = false;
track_ptr track;
if ( m_query )
{

View File

@@ -87,8 +87,8 @@ private:
Tomahawk::source_ptr m_source;
PlayableItem* m_parent;
bool m_fetchingMore;
bool m_isPlaying;
bool m_fetchingMore = false;
bool m_isPlaying = false;
Tomahawk::PlaybackLog m_playbackLog;
};