Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KPimTextEdit
Commits
b53b906f
Commit
b53b906f
authored
Apr 06, 2022
by
Laurent Montel
😁
Browse files
Fix compile against qt6
parent
f1faada8
Pipeline
#160219
passed with stages
in 5 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/texteditor/plaintexteditor/plaintexteditor.cpp
View file @
b53b906f
...
...
@@ -449,7 +449,7 @@ bool PlainTextEditor::event(QEvent *ev)
}
}
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
else
if
(
e
->
type
()
==
QEvent
::
ApplicationPaletteChange
)
{
else
if
(
e
v
->
type
()
==
QEvent
::
ApplicationPaletteChange
)
{
regenerateColorScheme
();
}
#endif
...
...
src/texteditor/richtexteditor/richtexteditor.cpp
View file @
b53b906f
...
...
@@ -754,7 +754,7 @@ void RichTextEditor::wheelEvent(QWheelEvent *event)
return
;
}
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
else
if
(
e
->
type
()
==
QEvent
::
ApplicationPaletteChange
)
{
else
if
(
e
vent
->
type
()
==
QEvent
::
ApplicationPaletteChange
)
{
regenerateColorScheme
();
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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