1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 14:04:46 -04:00

Apply atomic settings to channel Rx plugins part 1. Part of #1329

This commit is contained in:
f4exb
2026-01-31 22:01:57 +01:00
parent 161358ddbd
commit 103e86c80b
280 changed files with 8736 additions and 3611 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "stringlist.h"
bool StringListUtil::containsAll(const QStringList &haystack, const QStringList &needles)
{
for (const auto &s : needles) {
if (!haystack.contains(s)) // optionally add Qt::CaseSensitivity
return false;
}
return true;
}
bool StringListUtil::containsAny(const QStringList &haystack, const QStringList &needles)
{
for (const auto &s : needles) {
if (haystack.contains(s)) // optionally add Qt::CaseSensitivity
return true;
}
return false;
}