Replace some more occurrences of QStringList() << pattern

Change-Id: Ic7193ac3a741763479a9ef129ed05cb7ca64f1e9
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2017-02-08 14:06:01 +01:00
parent 38b6f4ff85
commit 2475da1bb5
15 changed files with 268 additions and 684 deletions

View File

@@ -902,9 +902,8 @@ BreakHandler::BreakHandler()
#if USE_BREAK_MODEL_TEST
new ModelTest(this, 0);
#endif
setHeader(QStringList()
<< tr("Number") << tr("Function") << tr("File") << tr("Line")
<< tr("Address") << tr("Condition") << tr("Ignore") << tr("Threads"));
setHeader(QStringList({ tr("Number"), tr("Function"), tr("File"), tr("Line"), tr("Address"),
tr("Condition"), tr("Ignore"), tr("Threads") }));
}
static inline bool fileNameMatch(const QString &f1, const QString &f2)