Commit bb40561a authored by Laurent Montel's avatar Laurent Montel
Browse files

const'ify variable

parent 51e45d19
Pipeline #245915 passed with stage
in 20 minutes and 59 seconds
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment