Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
96a9aa64
Commit
96a9aa64
authored
Oct 25, 2022
by
Laurent Montel
Browse files
Fix building autotest
parent
4672c121
Pipeline
#255162
passed with stage
in 9 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
96a9aa64
...
...
@@ -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.4
1
"
)
set
(
IDENTITYMANAGEMENT_LIB_VERSION
"5.21.4
2
"
)
set
(
KMAILTRANSPORT_LIB_VERSION
"5.21.40"
)
set
(
KMBOX_LIB_VERSION
"5.21.40"
)
set
(
KMIME_LIB_VERSION
"5.21.40"
)
...
...
messagecomposer/src/composer-ng/autotests/richtextcomposerngtest.cpp
View file @
96a9aa64
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment