From 90ca8c89f50f50a97d6fe60e157b974b3d58a4f7 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Tue, 20 May 2014 09:48:07 +0400 Subject: [PATCH] added support of several custom commands to dataengine --- sources/ext-sysmon/extsysmon.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sources/ext-sysmon/extsysmon.cpp b/sources/ext-sysmon/extsysmon.cpp index 0f165cf..69d344d 100644 --- a/sources/ext-sysmon/extsysmon.cpp +++ b/sources/ext-sysmon/extsysmon.cpp @@ -398,10 +398,12 @@ bool ExtendedSysMon::updateSourceEvent(const QString &source) { QString key; if (source == QString("custom")) { - key = QString("custom"); - QString value = getCustomCmd(configuration[QString("CUSTOM")]); + for (int i=0; i