diff options
author | Ken Moore <moorekou@gmail.com> | 2016-07-06 13:11:12 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-07-06 13:11:12 -0400 |
commit | 1dbe1016f865b2f08f610362f143a19aeaed4b70 (patch) | |
tree | 4eb0479f34bbca890c7ac5a253488bc5ecb91f48 /src-qt5/core/lumina-session | |
parent | Setup the session process launcher to provide the capability of prompting flu... (diff) | |
download | lumina-1dbe1016f865b2f08f610362f143a19aeaed4b70.tar.gz lumina-1dbe1016f865b2f08f610362f143a19aeaed4b70.tar.bz2 lumina-1dbe1016f865b2f08f610362f143a19aeaed4b70.zip |
Fix up the reloading of compton when the config file changes.
Diffstat (limited to 'src-qt5/core/lumina-session')
-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)) ); |