Commit 34ce1725 authored by Volker Krause's avatar Volker Krause
Browse files

Make flag construction explicit

Fails to build with Qt6 otherwise.
parent a6c6bad5
Pipeline #182272 passed with stage
in 3 minutes and 4 seconds
......@@ -189,7 +189,7 @@ private Q_SLOTS:
country = KnowledgeDb::countryForId(CountryId{"DE"});
QCOMPARE(country.drivingSide, KnowledgeDb::DrivingSide::Right);
QCOMPARE(country.powerPlugTypes, {TypeC|TypeF});
QCOMPARE(country.powerPlugTypes, KnowledgeDb::PowerPlugTypes{TypeC|TypeF});
country = KnowledgeDb::countryForId(CountryId{"GB"});
QCOMPARE(country.drivingSide, KnowledgeDb::DrivingSide::Left);
QCOMPARE(country.powerPlugTypes, {TypeG});
Supports Markdown
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