Commit d66b3afd authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add explicit to constructors with 1 argument

parent e3d178f1
Pipeline #144901 passed with stage
in 2 minutes and 5 seconds
......@@ -14,7 +14,7 @@ class QuickCommandsModel : public QStandardItemModel
Q_OBJECT
public:
enum Roles { QuickCommandRole = Qt::UserRole + 1 };
QuickCommandsModel(QObject *parent = nullptr);
explicit QuickCommandsModel(QObject *parent = nullptr);
~QuickCommandsModel() override;
QStringList groups() const;
......
......@@ -22,7 +22,7 @@ class QuickCommandsWidget : public QWidget
{
Q_OBJECT
public:
QuickCommandsWidget(QWidget *parent = nullptr);
explicit QuickCommandsWidget(QWidget *parent = nullptr);
~QuickCommandsWidget() override;
Q_SLOT void viewMode();
......
......@@ -31,7 +31,7 @@ public:
SSHRole = Qt::UserRole + 1,
};
SSHManagerModel(QObject *parent = nullptr);
explicit SSHManagerModel(QObject *parent = nullptr);
~SSHManagerModel() override;
void setSessionController(Konsole::SessionController *controller);
......
......@@ -28,7 +28,7 @@ class SSHManagerTreeWidget : public QWidget
{
Q_OBJECT
public:
SSHManagerTreeWidget(QWidget *parent = nullptr);
explicit SSHManagerTreeWidget(QWidget *parent = nullptr);
~SSHManagerTreeWidget() override;
// shows the panel for add a new ssh info.
......
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