add missing override and explicit specifiers in src/deck and src/utility (#5525)

* add missing override and explicit specifiers in src/deck

* add missing override and explicit specifiers in src/utility
This commit is contained in:
RickyRister 2025-01-25 06:05:00 -08:00 committed by GitHub
parent 9f729bf636
commit a41e7c75c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

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

View file

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

View file

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