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:
@@ -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 )
|
||||
{
|
||||
|
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user