Remove unnecessary QString

I thought it would solve the unicode issues I had, but it was
unnecessary.

Signed-off-by: Anton Lundin <glance@ac2.se>
This commit is contained in:
Anton Lundin 2023-10-18 07:30:06 +02:00 committed by Michael Keller
parent a681ff3410
commit 5444a6b65d

View file

@ -68,7 +68,7 @@ void TestformatDiveGasString::test_nitrox_deco() {
cylinder->start.mbar = 230000; cylinder->start.mbar = 230000;
cylinder->end.mbar = 100000; cylinder->end.mbar = 100000;
QCOMPARE(formatDiveGasString(&dive), QString("32…100%")); QCOMPARE(formatDiveGasString(&dive), "32…100%");
} }
void TestformatDiveGasString::test_reverse_nitrox_deco() { void TestformatDiveGasString::test_reverse_nitrox_deco() {
@ -85,7 +85,7 @@ void TestformatDiveGasString::test_reverse_nitrox_deco() {
cylinder->start.mbar = 230000; cylinder->start.mbar = 230000;
cylinder->end.mbar = 100000; cylinder->end.mbar = 100000;
QCOMPARE(formatDiveGasString(&dive), QString("27…100%")); QCOMPARE(formatDiveGasString(&dive), "27…100%");
} }
void TestformatDiveGasString::test_trimix() { void TestformatDiveGasString::test_trimix() {