mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
libcalamares: repair locale tests for Qt6 compatibility
This commit is contained in:
parent
49d449c211
commit
bc9d5aae58
1 changed files with 2 additions and 1 deletions
|
@ -230,7 +230,8 @@ LocaleTests::testTranslatableConfig2()
|
|||
continue;
|
||||
}
|
||||
// Could be QVERIFY, but then we don't see what language code fails
|
||||
QCOMPARE( ts1.get( language ) == QString( "description (language %1)" ).arg( language ) ? language : QString(),
|
||||
QCOMPARE( ts1.get( QLocale( language ) ) == QString( "description (language %1)" ).arg( language ) ? language
|
||||
: QString(),
|
||||
language );
|
||||
}
|
||||
QCOMPARE( ts1.get( QLocale( QLocale::Language::Serbian, QLocale::Script::LatinScript, QLocale::Country::Serbia ) ),
|
||||
|
|
Loading…
Add table
Reference in a new issue