Make c'tor explicit
This commit is contained in:
parent
45d54e5ce5
commit
aa6fd0520e
|
@ -11,7 +11,7 @@ class LIB_SYNCTHING_CONNECTOR_EXPORT SyncthingProcess : public QProcess
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SyncthingProcess(QObject *parent = nullptr);
|
||||
explicit SyncthingProcess(QObject *parent = nullptr);
|
||||
|
||||
public Q_SLOTS:
|
||||
void restartSyncthing(const QString &cmd);
|
||||
|
|
|
@ -42,7 +42,7 @@ class SyncthingService : public QObject
|
|||
Q_PROPERTY(bool enable READ isEnabled WRITE setEnabled NOTIFY enabledChanged)
|
||||
|
||||
public:
|
||||
SyncthingService(QObject *parent = nullptr);
|
||||
explicit SyncthingService(QObject *parent = nullptr);
|
||||
|
||||
const QString &unitName() const;
|
||||
bool isSystemdAvailable() const;
|
||||
|
|
Loading…
Reference in New Issue