From 0c04b8cc4021934bbd6e0bd12788396689f65864 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Tue, 18 Aug 2015 23:18:16 +0100 Subject: Fix unit-tests, expected output changed, so update the tests. --- autotests/kconfig_compiler/test5.h.ref | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'autotests/kconfig_compiler/test5.h.ref') diff --git a/autotests/kconfig_compiler/test5.h.ref b/autotests/kconfig_compiler/test5.h.ref index 8d2cab2e..76041741 100644 --- a/autotests/kconfig_compiler/test5.h.ref +++ b/autotests/kconfig_compiler/test5.h.ref @@ -23,7 +23,7 @@ class Test5 : public KConfigSkeleton static void setColor( int i, const QColor & v ) { - if (!self()->isImmutable( QString::fromLatin1( "Color%1" ).arg( i ) )) + if (!self()->isImmutable( QStringLiteral( "Color%1" ).arg( i ) )) self()->mColor[i] = v; } @@ -42,7 +42,7 @@ class Test5 : public KConfigSkeleton static void setMouseAction( int i, int v ) { - if (!self()->isImmutable( QString::fromLatin1( "MouseAction%1" ).arg( QLatin1String( EnumButtonToString[i] ) ) )) + if (!self()->isImmutable( QStringLiteral( "MouseAction%1" ).arg( QLatin1String( EnumButtonToString[i] ) ) )) self()->mMouseAction[i] = v; } @@ -61,7 +61,7 @@ class Test5 : public KConfigSkeleton static void setFooBar( const QString & v ) { - if (!self()->isImmutable( QString::fromLatin1( "FooBar" ) )) + if (!self()->isImmutable( QStringLiteral( "FooBar" ) )) self()->mFooBar = v; } @@ -92,7 +92,7 @@ class Test5 : public KConfigSkeleton v = 88; } - if (!self()->isImmutable( QString::fromLatin1( "Age" ) )) + if (!self()->isImmutable( QStringLiteral( "Age" ) )) self()->mAge = v; } -- cgit v1.2.1