diff options
author | aavit <qt-info@nokia.com> | 2011-04-27 11:01:47 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2011-05-03 11:30:56 (GMT) |
commit | 4fe5307af44a76b99cc8c70aa330180c1985eabc (patch) | |
tree | 540e1325afe6c5b3b93b861b08e9b1262d9f8605 /tests | |
parent | d499f7ca995e40f7a75f913ff0f07d9a73fa3559 (diff) | |
download | Qt-4fe5307af44a76b99cc8c70aa330180c1985eabc.zip Qt-4fe5307af44a76b99cc8c70aa330180c1985eabc.tar.gz Qt-4fe5307af44a76b99cc8c70aa330180c1985eabc.tar.bz2 |
Do not filter adhoc clients
Diffstat (limited to 'tests')
-rw-r--r-- | tests/arthur/baselineserver/src/baselineserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arthur/baselineserver/src/baselineserver.cpp b/tests/arthur/baselineserver/src/baselineserver.cpp index 9c30638..97ee80c 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()) |