summaryrefslogtreecommitdiffstats
path: root/tests/arthur
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2011-04-27 13:01:47 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-10 12:54:55 +0200
commitf55563e7df9fd10849f33ec4368317f43fbbb301 (patch)
tree89b9399b753d046afc2e392699f7e32e2357cf93 /tests/arthur
parentc890bf88a77a7f1bb64b7a078ca90e4800e49b67 (diff)
Do not filter adhoc clients
(cherry picked from commit 4fe5307af44a76b99cc8c70aa330180c1985eabc)
Diffstat (limited to 'tests/arthur')
-rw-r--r--tests/arthur/baselineserver/src/baselineserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arthur/baselineserver/src/baselineserver.cpp b/tests/arthur/baselineserver/src/baselineserver.cpp
index 9c30638e4d..97ee80ce7c 100644
--- a/tests/arthur/baselineserver/src/baselineserver.cpp
+++ b/tests/arthur/baselineserver/src/baselineserver.cpp
@@ -187,9 +187,9 @@ bool BaselineHandler::establishConnection()
<< "[" << qPrintable(plat.value(PI_HostAddress)) << "]" << logMsg;
settings->beginGroup("ClientFilters");
- if (!settings->childKeys().isEmpty()) {
+ if (!settings->childKeys().isEmpty() && !plat.value(PI_PulseGitBranch).isEmpty()) { // i.e. not adhoc client
// Abort if client does not match the filters
- foreach(QString filterKey, settings->childKeys()) {
+ foreach (QString filterKey, settings->childKeys()) {
QString filter = settings->value(filterKey).toString();
QString platVal = plat.value(filterKey);
if (filter.isEmpty() || platVal.isEmpty())