Commit d0917d84 authored by Laurent Montel's avatar Laurent Montel 😁

Constify

parent 5347274b
Pipeline #27699 passed with stage
in 74 minutes and 57 seconds
......@@ -33,8 +33,7 @@ KMFilterAccountList::KMFilterAccountList(QWidget *parent)
: QTreeWidget(parent)
{
setColumnCount(2);
QStringList headerNames;
headerNames << i18n("Account Name") << i18n("Type");
const QStringList headerNames{i18n("Account Name"), i18n("Type")};
setHeaderItem(new QTreeWidgetItem(headerNames));
setAllColumnsShowFocus(true);
setFrameStyle(QFrame::WinPanel + QFrame::Sunken);
......
Markdown is supported
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