aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlisttrack.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-08-13 10:46:51 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-08-13 10:46:51 +0000
commit6cf6bc2f667ea229d3864a8767982bdecab7b146 (patch)
treeafd9602f80bad18e6c69d74feb9d85c561cf65ff /src/qmmpui/playlisttrack.h
parent90dedc4493d21f3057d86ce4289eee6471a243b5 (diff)
downloadqmmp-6cf6bc2f667ea229d3864a8767982bdecab7b146.tar.gz
qmmp-6cf6bc2f667ea229d3864a8767982bdecab7b146.tar.bz2
qmmp-6cf6bc2f667ea229d3864a8767982bdecab7b146.zip
coding style fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9472 90c681e8-e032-0410-971d-27865f9a5e38
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;
};