diff options
-rw-r--r-- | src-qt5/core/lumina-session/session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-session/session.h b/src-qt5/core/lumina-session/session.h index 0bace416..4ae01f85 100644 --- a/src-qt5/core/lumina-session/session.h +++ b/src-qt5/core/lumina-session/session.h @@ -32,7 +32,7 @@ public: LProcess(QString ID, QStringList watchfiles) : QProcess(){ id=ID; watcher = 0; - if(watchfiles.isEmpty()){ + if(!watchfiles.isEmpty()){ watcher = new QFileSystemWatcher(this); connect(watcher, SIGNAL(fileChanged(QString)), this, SLOT(filechanged(QString)) ); connect(watcher, SIGNAL(directoryChanged(QString)), this, SLOT(filechanged(QString)) ); |