Commit 96a9aa64 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix building autotest

parent 4672c121
Pipeline #255162 passed with stage
in 9 minutes and 21 seconds
......@@ -24,7 +24,7 @@ set(AKONADICONTACT_LIB_VERSION "5.21.40")
set(AKONADI_VERSION "5.21.40")
set(GRANTLEETHEME_LIB_VERSION "5.21.40")
set(GRAVATAR_LIB_VERSION "5.21.40")
set(IDENTITYMANAGEMENT_LIB_VERSION "5.21.41")
set(IDENTITYMANAGEMENT_LIB_VERSION "5.21.42")
set(KMAILTRANSPORT_LIB_VERSION "5.21.40")
set(KMBOX_LIB_VERSION "5.21.40")
set(KMIME_LIB_VERSION "5.21.40")
......
......@@ -51,8 +51,10 @@ void RichTextComposerNgTest::shouldForceAutoCorrection()
richtextComposerNg.setPlainText(original);
PimCommon::AutoCorrection autocorrection;
autocorrection.setEnabledAutoCorrection(true);
autocorrection.setUppercaseFirstCharOfSentence(true);
PimCommon::AutoCorrectionSettings settings;
settings.setEnabledAutoCorrection(true);
settings.setUppercaseFirstCharOfSentence(true);
autocorrection.setAutoCorrectionSettings(settings);
richtextComposerNg.setAutocorrection(&autocorrection);
richtextComposerNg.forceAutoCorrection(false);
......@@ -88,9 +90,11 @@ void RichTextComposerNgTest::shouldForceAutoCorrectionWithSelection()
cur.setPosition(selectionEnd, QTextCursor::KeepAnchor);
richtextComposerNg.setTextCursor(cur);
PimCommon::AutoCorrection autocorrection;
autocorrection.setEnabledAutoCorrection(true);
autocorrection.setUppercaseFirstCharOfSentence(true);
autocorrection.setFixTwoUppercaseChars(true);
PimCommon::AutoCorrectionSettings settings;
settings.setEnabledAutoCorrection(true);
settings.setUppercaseFirstCharOfSentence(true);
settings.setFixTwoUppercaseChars(true);
autocorrection.setAutoCorrectionSettings(settings);
richtextComposerNg.setAutocorrection(&autocorrection);
richtextComposerNg.forceAutoCorrection(true);
......
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