Add explicit

This commit is contained in:
Jonas Kvinge
2020-04-07 16:49:15 +02:00
parent 3efc496c41
commit 21b2193cd0
199 changed files with 337 additions and 342 deletions

View File

@@ -34,14 +34,14 @@ class FavoriteWidget : public QWidget {
Q_OBJECT
public:
FavoriteWidget(int tab_id, bool favorite = false, QWidget *parent = nullptr);
explicit FavoriteWidget(int tab_id, bool favorite = false, QWidget *parent = nullptr);
// Change the value if different from the current one and then update display and emit FavoriteStateChanged signal
void SetFavorite(bool favorite);
QSize sizeHint() const;
signals:
signals:
void FavoriteStateChanged(int, bool);
protected: