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/test_signal.h.ref | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'autotests/kconfig_compiler/test_signal.h.ref') diff --git a/autotests/kconfig_compiler/test_signal.h.ref b/autotests/kconfig_compiler/test_signal.h.ref index 648b26db..e5361813 100644 --- a/autotests/kconfig_compiler/test_signal.h.ref +++ b/autotests/kconfig_compiler/test_signal.h.ref @@ -21,7 +21,7 @@ class TestSignal : public KConfigSkeleton static void setEmoticonTheme( const QString & v ) { - if (v != self()->mEmoticonTheme && !self()->isImmutable( QString::fromLatin1( "emoticonTheme" ) )) { + if (v != self()->mEmoticonTheme && !self()->isImmutable( QStringLiteral( "emoticonTheme" ) )) { self()->mEmoticonTheme = v; self()->mSettingsChanged |= signalEmoticonSettingsChanged; } @@ -42,7 +42,7 @@ class TestSignal : public KConfigSkeleton static void setUseEmoticon( bool v ) { - if (v != self()->mUseEmoticon && !self()->isImmutable( QString::fromLatin1( "useEmoticon" ) )) { + if (v != self()->mUseEmoticon && !self()->isImmutable( QStringLiteral( "useEmoticon" ) )) { self()->mUseEmoticon = v; self()->mSettingsChanged |= signalEmoticonSettingsChanged; } @@ -63,7 +63,7 @@ class TestSignal : public KConfigSkeleton static void setEmoticonRequireSpace( bool v ) { - if (v != self()->mEmoticonRequireSpace && !self()->isImmutable( QString::fromLatin1( "emoticonRequireSpace" ) )) { + if (v != self()->mEmoticonRequireSpace && !self()->isImmutable( QStringLiteral( "emoticonRequireSpace" ) )) { self()->mEmoticonRequireSpace = v; self()->mSettingsChanged |= signalEmoticonSettingsChanged; } @@ -84,7 +84,7 @@ class TestSignal : public KConfigSkeleton static void setStylePath( const QString & v ) { - if (v != self()->mStylePath && !self()->isImmutable( QString::fromLatin1( "stylePath" ) )) { + if (v != self()->mStylePath && !self()->isImmutable( QStringLiteral( "stylePath" ) )) { self()->mStylePath = v; self()->mSettingsChanged |= signalStyleChanged; } @@ -105,7 +105,7 @@ class TestSignal : public KConfigSkeleton static void setStyleCSSVariant( const QString & v ) { - if (!self()->isImmutable( QString::fromLatin1( "StyleCSSVariant" ) )) + if (!self()->isImmutable( QStringLiteral( "StyleCSSVariant" ) )) self()->mStyleCSSVariant = v; } -- cgit v1.2.1