The minimal build requirements we defined for the 0.13 branch don't
support list initialization for QStringList, so replace the two
places where we accidentally slipped that in by the legacy way
of doing things.
Fixes #1503.
QStringList NetworkItem::propertyOrder() const
{
- static QStringList order{"networkName", "currentServer", "nickCount"};
+ static auto order = QStringList() << "networkName" << "currentServer" << "nickCount";
return order;
}
QStringList BufferItem::propertyOrder() const
{
- static QStringList order{"bufferName", "topic", "nickCount"};
+ static auto order = QStringList() << "bufferName" << "topic" << "nickCount";
return order;
}