Make c'tor explicit

This commit is contained in:
Martchus 2017-01-06 15:19:37 +01:00
parent 45d54e5ce5
commit aa6fd0520e
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;