Commit d959156b authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues

parent fe81b17d
...@@ -56,7 +56,7 @@ class ScoresList : public QTreeWidget ...@@ -56,7 +56,7 @@ class ScoresList : public QTreeWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
ScoresList(QWidget *parent); explicit ScoresList(QWidget *parent);
void addHeader(const ItemArray &); void addHeader(const ItemArray &);
......
...@@ -180,7 +180,7 @@ class ScoreInfos : public ItemArray ...@@ -180,7 +180,7 @@ class ScoreInfos : public ItemArray
class ConfigGroup : public KConfigGroup class ConfigGroup : public KConfigGroup
{ {
public: public:
ConfigGroup(const QString &group = QLatin1String( "" )) explicit ConfigGroup(const QString &group = QLatin1String( "" ))
: KConfigGroup(KSharedConfig::openConfig(), group) {} : KConfigGroup(KSharedConfig::openConfig(), group) {}
}; };
......
...@@ -173,7 +173,7 @@ bool Score::isTheWorst() const ...@@ -173,7 +173,7 @@ bool Score::isTheWorst() const
return score()==s.score(); return score()==s.score();
} }
bool Score::operator <(const Score &score) bool Score::operator <(const Score &score) const
{ {
return internal->manager.isStrictlyLess(*this, score); return internal->manager.isStrictlyLess(*this, score);
} }
......
...@@ -178,7 +178,7 @@ class Score; ...@@ -178,7 +178,7 @@ class Score;
class Score class Score
{ {
public: public:
Score(ScoreType type = Won); explicit Score(ScoreType type = Won);
~Score(); ~Score();
...@@ -229,7 +229,7 @@ class Score ...@@ -229,7 +229,7 @@ class Score
* *
* @see Manager::isStrictlyLess * @see Manager::isStrictlyLess
*/ */
bool operator <(const Score &score); bool operator <(const Score &score) const;
private: private:
ScoreType _type; ScoreType _type;
......
...@@ -35,7 +35,7 @@ class PlayersCombo : public QComboBox ...@@ -35,7 +35,7 @@ class PlayersCombo : public QComboBox
{ {
Q_OBJECT Q_OBJECT
public: public:
PlayersCombo(QWidget *parent = nullptr); explicit PlayersCombo(QWidget *parent = nullptr);
void load(); void load();
...@@ -53,7 +53,7 @@ class AdditionalTab : public QWidget ...@@ -53,7 +53,7 @@ class AdditionalTab : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
AdditionalTab(QWidget *parent); explicit AdditionalTab(QWidget *parent);
virtual void load(); virtual void load();
...@@ -100,7 +100,7 @@ class HistogramTab : public AdditionalTab ...@@ -100,7 +100,7 @@ class HistogramTab : public AdditionalTab
{ {
Q_OBJECT Q_OBJECT
public: public:
HistogramTab(QWidget *parent); explicit HistogramTab(QWidget *parent);
void load() override; 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