Commit d959156b authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent fe81b17d
......@@ -56,7 +56,7 @@ class ScoresList : public QTreeWidget
{
Q_OBJECT
public:
ScoresList(QWidget *parent);
explicit ScoresList(QWidget *parent);
void addHeader(const ItemArray &);
......
......@@ -180,7 +180,7 @@ class ScoreInfos : public ItemArray
class ConfigGroup : public KConfigGroup
{
public:
ConfigGroup(const QString &group = QLatin1String( "" ))
explicit ConfigGroup(const QString &group = QLatin1String( "" ))
: KConfigGroup(KSharedConfig::openConfig(), group) {}
};
......
......@@ -173,7 +173,7 @@ bool Score::isTheWorst() const
return score()==s.score();
}
bool Score::operator <(const Score &score)
bool Score::operator <(const Score &score) const
{
return internal->manager.isStrictlyLess(*this, score);
}
......
......@@ -178,7 +178,7 @@ class Score;
class Score
{
public:
Score(ScoreType type = Won);
explicit Score(ScoreType type = Won);
~Score();
......@@ -229,7 +229,7 @@ class Score
*
* @see Manager::isStrictlyLess
*/
bool operator <(const Score &score);
bool operator <(const Score &score) const;
private:
ScoreType _type;
......
......@@ -35,7 +35,7 @@ class PlayersCombo : public QComboBox
{
Q_OBJECT
public:
PlayersCombo(QWidget *parent = nullptr);
explicit PlayersCombo(QWidget *parent = nullptr);
void load();
......@@ -53,7 +53,7 @@ class AdditionalTab : public QWidget
{
Q_OBJECT
public:
AdditionalTab(QWidget *parent);
explicit AdditionalTab(QWidget *parent);
virtual void load();
......@@ -100,7 +100,7 @@ class HistogramTab : public AdditionalTab
{
Q_OBJECT
public:
HistogramTab(QWidget *parent);
explicit HistogramTab(QWidget *parent);
void load() override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment