From 6cf6bc2f667ea229d3864a8767982bdecab7b146 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 13 Aug 2020 10:46:51 +0000 Subject: coding style fixes git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9472 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playstate_p.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/qmmpui/playstate_p.h') 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 m_shuffled_indexes; -- cgit v1.2.3-13-gbd6f