Commit ab4aec9d authored by David Redondo's avatar David Redondo 🏎
Browse files

Go back to constructing two temporary sets

Better to keep the exact semantics when porting stuff, we can change it later
if we want. (Disregarding that I even got the boolean the wrong way around).
parent feb67853
......@@ -167,7 +167,7 @@ QStringList RunnerModel::runners() const
void RunnerModel::setRunners(const QStringList &runners)
if (std::is_permutation(runners.cbegin(), runners.cend(), m_runners.cbegin(), m_runners.cend())) {
if (QSet<QString>(runners.cbegin(), runners.cend()) != QSet<QString>(m_runners.cbegin(), m_runners.cend())) {
m_runners = runners;
if (m_runnerManager) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment