From 1dbe1016f865b2f08f610362f143a19aeaed4b70 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 6 Jul 2016 13:11:12 -0400 Subject: Fix up the reloading of compton when the config file changes. --- src-qt5/core/lumina-session/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-session/session.h') 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)) ); -- cgit