mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 10:33:59 +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
|
void
|
||||||
PlayableItem::init( int row )
|
PlayableItem::init( int row )
|
||||||
{
|
{
|
||||||
m_fetchingMore = false;
|
|
||||||
m_isPlaying = false;
|
|
||||||
|
|
||||||
track_ptr track;
|
track_ptr track;
|
||||||
if ( m_query )
|
if ( m_query )
|
||||||
{
|
{
|
||||||
|
@@ -87,8 +87,8 @@ private:
|
|||||||
Tomahawk::source_ptr m_source;
|
Tomahawk::source_ptr m_source;
|
||||||
|
|
||||||
PlayableItem* m_parent;
|
PlayableItem* m_parent;
|
||||||
bool m_fetchingMore;
|
bool m_fetchingMore = false;
|
||||||
bool m_isPlaying;
|
bool m_isPlaying = false;
|
||||||
|
|
||||||
Tomahawk::PlaybackLog m_playbackLog;
|
Tomahawk::PlaybackLog m_playbackLog;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user