aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlisttrack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlisttrack.h')
-rw-r--r--src/qmmpui/playlisttrack.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qmmpui/playlisttrack.h b/src/qmmpui/playlisttrack.h
index 1229d063a..2d878e176 100644
--- a/src/qmmpui/playlisttrack.h
+++ b/src/qmmpui/playlisttrack.h
@@ -43,7 +43,7 @@ public:
/*!
* Constructs a new PlayListTrack that is a copy of the given track \b other
*/
- PlayListTrack(const PlayListTrack &other);
+ explicit PlayListTrack(const PlayListTrack &other);
/*!
* Constructs plalist item with given metadata.
* @param info Media file information.
@@ -129,9 +129,9 @@ private:
QStringList m_titleFormats;
QString m_groupFormat;
QmmpUiSettings *m_settings;
- int m_refCount;
- int m_track_index;
- bool m_sheduledForDeletion;
+ int m_refCount = 0;
+ int m_track_index = -1;
+ bool m_sheduledForDeletion = false;
MetaDataHelper *m_helper;
};