more correct test class for extscripts

This commit is contained in:
arcanis committed 2016-05-23 11:04:12 +03:00
1 parent ea7c15d865
commit 72f0d4587b
17 files changed
+73 -46

No files matched your search

+4
View File
@@ -263,6 +263,9 @@ QVariantHash ExtScript::run()
{
if (!isActive())
return value;
if (process->state() != QProcess::NotRunning)
qCWarning(LOG_LIB) << "Another process is already running"
<< process->state();
if ((times == 1) && (process->state() == QProcess::NotRunning)) {
QStringList cmdList;
@@ -375,6 +378,7 @@ void ExtScript::updateValue()
// filters
value[tag(QString("custom"))] = applyFilters(strValue);
emit(dataReceived(value));
}