add missing override and explicit specifiers in src/deck

This commit is contained in:
RickyRister 2025-01-24 23:14:36 -08:00
parent f6c31bf901
commit 3b2c3e8c2f
3 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ protected:
void keyPressEvent(QKeyEvent *event) override; void keyPressEvent(QKeyEvent *event) override;
public: public:
SearchLineEdit() : LineEditUnfocusable(), treeView(nullptr) SearchLineEdit() : treeView(nullptr)
{ {
} }
void setTreeView(QTreeView *_treeView) void setTreeView(QTreeView *_treeView)

View file

@ -29,8 +29,8 @@ private:
public: public:
DeckLoader(); DeckLoader();
DeckLoader(const QString &nativeString); explicit DeckLoader(const QString &nativeString);
DeckLoader(const DeckList &other); explicit DeckLoader(const DeckList &other);
DeckLoader(const DeckLoader &other); DeckLoader(const DeckLoader &other);
const QString &getLastFileName() const const QString &getLastFileName() const
{ {

View file

@ -31,7 +31,7 @@ private slots:
void getAnalyzeRequestData(DeckList *deck, QByteArray *data); void getAnalyzeRequestData(DeckList *deck, QByteArray *data);
public: public:
DeckStatsInterface(CardDatabase &_cardDatabase, QObject *parent = nullptr); explicit DeckStatsInterface(CardDatabase &_cardDatabase, QObject *parent = nullptr);
void analyzeDeck(DeckList *deck); void analyzeDeck(DeckList *deck);
}; };