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
KMail
Commits
bb40561a
Commit
bb40561a
authored
Oct 11, 2022
by
Laurent Montel
Browse files
const'ify variable
parent
51e45d19
Pipeline
#245915
passed with stage
in 20 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/archivemailagent/archivemailwidget.cpp
View file @
bb40561a
...
...
@@ -66,8 +66,7 @@ ArchiveMailWidget::ArchiveMailWidget(const KSharedConfigPtr &config, QWidget *pa
mWidget
.
setupUi
(
w
);
parent
->
layout
()
->
addWidget
(
w
);
QStringList
headers
;
headers
<<
i18n
(
"Name"
)
<<
i18n
(
"Last archive"
)
<<
i18n
(
"Next archive in"
)
<<
i18n
(
"Storage directory"
);
const
QStringList
headers
=
QStringList
{
i18n
(
"Name"
),
i18n
(
"Last archive"
),
i18n
(
"Next archive in"
),
i18n
(
"Storage directory"
)};
mWidget
.
treeWidget
->
setHeaderLabels
(
headers
);
mWidget
.
treeWidget
->
setObjectName
(
QStringLiteral
(
"treewidget"
));
mWidget
.
treeWidget
->
setSortingEnabled
(
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