summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakhandler.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2017-02-08 14:06:01 +0100
committerChristian Stenger <christian.stenger@qt.io>2017-02-08 14:27:48 +0000
commit2475da1bb527e47016df9bc6cdc67a25bd9fe0ee (patch)
treea82bbd66944a901c0ea181c05ff40bb910ba3dc3 /src/plugins/debugger/breakhandler.cpp
parent38b6f4ff850b933660911347db801168da439321 (diff)
downloadqt-creator-2475da1bb527e47016df9bc6cdc67a25bd9fe0ee.tar.gz
Replace some more occurrences of QStringList() << pattern
Change-Id: Ic7193ac3a741763479a9ef129ed05cb7ca64f1e9 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r--src/plugins/debugger/breakhandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 6ed93164d7..307c8e6443 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -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)