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
KMail
Commits
b07de1a7
Commit
b07de1a7
authored
Mar 19, 2021
by
Laurent Montel
😁
Browse files
Const'ify pointer
parent
e3a6cca4
Pipeline
#54890
passed with stage
in 26 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/tag/tagselectdialog.cpp
View file @
b07de1a7
...
...
@@ -32,6 +32,7 @@ TagSelectDialog::TagSelectDialog(QWidget *parent, int numberOfSelectedMessages,
:
QDialog
(
parent
)
,
mNumberOfSelectedMessages
(
numberOfSelectedMessages
)
,
mSelectedItem
(
selectedItem
)
,
mListTag
(
new
QListWidget
(
this
))
{
setWindowTitle
(
i18nc
(
"@title:window"
,
"Select Tags"
));
auto
mainLayout
=
new
QVBoxLayout
(
this
);
...
...
@@ -54,7 +55,6 @@ TagSelectDialog::TagSelectDialog(QWidget *parent, int numberOfSelectedMessages,
auto
vbox
=
new
QVBoxLayout
;
mainWidget
->
setLayout
(
vbox
);
vbox
->
setContentsMargins
({});
mListTag
=
new
QListWidget
(
this
);
mListTag
->
setObjectName
(
QStringLiteral
(
"listtag"
));
auto
listWidgetSearchLine
=
new
KListWidgetSearchLine
(
this
,
mListTag
);
listWidgetSearchLine
->
setObjectName
(
QStringLiteral
(
"searchline"
));
...
...
src/tag/tagselectdialog.h
View file @
b07de1a7
...
...
@@ -39,7 +39,7 @@ private:
Akonadi
::
Tag
::
List
mCurrentSelectedTags
;
QVector
<
MailCommon
::
Tag
::
Ptr
>
mTagList
;
QList
<
KActionCollection
*>
mActionCollectionList
;
QListWidget
*
mListTag
=
nullptr
;
QListWidget
*
const
mListTag
;
};
#endif
/* TAGSELECTDIALOG_H */
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