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
94b198ef
Commit
94b198ef
authored
Aug 16, 2022
by
Laurent Montel
Browse files
const'ify pointer
parent
ac5182ec
Pipeline
#218583
passed with stage
in 18 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/widgets/mailsourcewebengineviewer.cpp
View file @
94b198ef
...
...
@@ -37,10 +37,10 @@ static const char myMailSourceWebEngineViewerConfigGroupName[] = "MailSourceWebE
}
MailSourceWebEngineViewer
::
MailSourceWebEngineViewer
(
QWidget
*
parent
)
:
QDialog
(
parent
)
,
mRawBrowser
(
new
MailSourceViewTextBrowserWidget
(
QStringLiteral
(
"Email"
),
this
))
{
setAttribute
(
Qt
::
WA_DeleteOnClose
);
auto
mainLayout
=
new
QVBoxLayout
(
this
);
mRawBrowser
=
new
MailSourceViewTextBrowserWidget
(
QStringLiteral
(
"Email"
),
this
);
#ifndef NDEBUG
mShowHtmlSource
=
true
;
#endif
...
...
messageviewer/src/widgets/mailsourcewebengineviewer.h
View file @
94b198ef
...
...
@@ -28,7 +28,7 @@ public:
private:
void
readConfig
();
void
writeConfig
();
MailSourceViewTextBrowserWidget
*
mRawBrowser
=
nullptr
;
MailSourceViewTextBrowserWidget
*
const
mRawBrowser
;
FindBarSourceView
*
mFindBar
=
nullptr
;
QTabWidget
*
mTabWidget
=
nullptr
;
MailSourceViewTextBrowserWidget
*
mHtmlBrowser
=
nullptr
;
...
...
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