diff --git a/unittests/TextDocument/TextDocument.cpp b/unittests/TextDocument/TextDocument.cpp index a01a1325..45160413 100644 --- a/unittests/TextDocument/TextDocument.cpp +++ b/unittests/TextDocument/TextDocument.cpp @@ -208,7 +208,7 @@ private slots: QTextTable *thirdTable = c.insertTable(1, 1); thirdTable->firstCursorPosition().insertText("in table"); c.insertText("Foo"); - const QList origTables = { firstTable, secondTable, thirdTable }; + const QList origTables = {firstTable, secondTable, thirdTable}; // A generic and slow solution is // curs.currentTable() && !tablesFound.contains(curs.currentTable())