forked from qt-creator/qt-creator
Replace a few occurrences of QStringList() << ...
... by something shorter. Change-Id: I363b4e509adb07997517b2d233246a333aea4aea Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -151,7 +151,7 @@ void CommandMappings::setPageTitle(const QString &s)
|
||||
|
||||
void CommandMappings::setTargetHeader(const QString &s)
|
||||
{
|
||||
d->commandList->setHeaderLabels(QStringList() << tr("Command") << tr("Label") << s);
|
||||
d->commandList->setHeaderLabels({ tr("Command"), tr("Label"), s});
|
||||
}
|
||||
|
||||
void CommandMappings::filterChanged(const QString &f)
|
||||
|
||||
Reference in New Issue
Block a user