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,8 +34,8 @@ class SettingsDialog;
class SettingsPage : public QWidget {
Q_OBJECT
public:
SettingsPage(SettingsDialog *dialog);
public:
explicit SettingsPage(SettingsDialog *dialog);
// Return false to grey out the page's item in the list.
virtual bool IsEnabled() const { return true; }
@@ -49,10 +49,10 @@ public:
// The dialog that this page belongs to.
SettingsDialog *dialog() const { return dialog_; }
signals:
signals:
void NotificationPreview(OSD::Behaviour, QString, QString);
private:
private:
SettingsDialog *dialog_;
};