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
f6ca7b10
Commit
f6ca7b10
authored
Aug 29, 2022
by
Laurent Montel
Browse files
const'ify pointer
parent
e923be39
Pipeline
#224481
canceled with stage
in 14 minutes and 36 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/manager.cpp
View file @
f6ca7b10
...
...
@@ -39,11 +39,10 @@ Manager *Manager::mInstance = nullptr;
Manager
::
Manager
()
:
QObject
()
,
mDateFormatter
(
new
KMime
::
DateFormatter
())
{
mInstance
=
this
;
mDateFormatter
=
new
KMime
::
DateFormatter
();
mCachedLocalizedUnknownText
=
i18nc
(
"Unknown date"
,
"Unknown"
);
loadConfiguration
();
...
...
messagelist/src/core/manager.h
View file @
f6ca7b10
...
...
@@ -53,7 +53,7 @@ private:
QList
<
Widget
*>
mWidgetList
;
QMap
<
QString
,
Aggregation
*>
mAggregations
;
QMap
<
QString
,
Theme
*>
mThemes
;
KMime
::
DateFormatter
*
mDateFormatter
=
nullptr
;
KMime
::
DateFormatter
*
const
mDateFormatter
;
QString
mCachedLocalizedUnknownText
;
public:
...
...
messagelist/src/core/widgets/searchlinestatus.cpp
View file @
f6ca7b10
...
...
@@ -32,9 +32,9 @@ static const char qLineEditclearButtonActionNameC[] = "_q_qlineeditclearaction";
using
namespace
MessageList
::
Core
;
SearchLineStatus
::
SearchLineStatus
(
QWidget
*
parent
)
:
QLineEdit
(
parent
)
,
mCompleter
(
new
QCompleter
(
this
))
,
mCompleterListModel
(
new
QStringListModel
(
this
))
{
mCompleter
=
new
QCompleter
(
this
);
mCompleterListModel
=
new
QStringListModel
(
this
);
mCompleter
->
setModel
(
mCompleterListModel
);
setCompleter
(
mCompleter
);
...
...
messagelist/src/core/widgets/searchlinestatus.h
View file @
f6ca7b10
...
...
@@ -78,14 +78,14 @@ private:
QAction
*
mFiltersAction
=
nullptr
;
QAction
*
mSaveFilterAction
=
nullptr
;
QMenu
*
mFilterMenu
=
nullptr
;
QCompleter
*
mCompleter
=
nullptr
;
QCompleter
*
const
mCompleter
;
QList
<
QAction
*>
mFilterListActions
;
QAction
*
mSearchEveryWhereAction
=
nullptr
;
QAction
*
mSearchAgainstBodyAction
=
nullptr
;
QAction
*
mSearchAgainstSubjectAction
=
nullptr
;
QAction
*
mSearchAgainstFromOrToAction
=
nullptr
;
QAction
*
mSearchAgainstBccAction
=
nullptr
;
QStringListModel
*
mCompleterListModel
=
nullptr
;
QStringListModel
*
const
mCompleterListModel
;
FilterSavedMenu
*
mFilterSavedMenu
=
nullptr
;
QStringList
mListCompetion
;
QString
mColorName
;
...
...
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