diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-13 10:46:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-13 10:46:51 +0000 |
| commit | 6cf6bc2f667ea229d3864a8767982bdecab7b146 (patch) | |
| tree | afd9602f80bad18e6c69d74feb9d85c561cf65ff /src/qmmpui/playstate_p.h | |
| parent | 90dedc4493d21f3057d86ce4289eee6471a243b5 (diff) | |
| download | qmmp-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/playstate_p.h')
| -rw-r--r-- | src/qmmpui/playstate_p.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qmmpui/playstate_p.h b/src/qmmpui/playstate_p.h index 22e619875..221ea9cde 100644 --- a/src/qmmpui/playstate_p.h +++ b/src/qmmpui/playstate_p.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2013 by Ilya Kotov * + * Copyright (C) 2007-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -62,7 +62,7 @@ public: { ; } - PlayState(PlayListModel* model); + explicit PlayState(PlayListModel* model); protected: /// Data model @@ -80,7 +80,7 @@ public: virtual bool next() override; virtual bool previous() override; virtual int nextIndex() override; - NormalPlayState(PlayListModel* model); + explicit NormalPlayState(PlayListModel* model); }; /*! @internal @@ -94,12 +94,12 @@ public: virtual bool previous() override; virtual int nextIndex() override; virtual void prepare() override; - ShufflePlayState(PlayListModel* model); + explicit ShufflePlayState(PlayListModel* model); virtual void resetState() override; private: /// Current shuffled index. - int m_shuffled_current; + int m_shuffled_current = 0; /// List of indexes used for shuffled playing. QList<int> m_shuffled_indexes; |
