forked from qt-creator/qt-creator
msvc2013 can not handle 1 item initializer lists
Change-Id: I44b3c3888f15a6b68ddaed2777b90cf4057792b1 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
2ee9ee9bff
commit
96a3d49b07
@@ -141,9 +141,9 @@ public:
|
||||
|
||||
CMakeToolItemModel::CMakeToolItemModel()
|
||||
{
|
||||
setHeader(QStringList() << tr("Name") << tr("Location"));
|
||||
rootItem()->appendChild(new StaticTreeItem({ tr("Auto-detected") }));
|
||||
rootItem()->appendChild(new StaticTreeItem({ tr("Manual") }));
|
||||
setHeader({tr("Name"), tr("Location")});
|
||||
rootItem()->appendChild(new StaticTreeItem(QStringList(tr("Auto-detected"))));
|
||||
rootItem()->appendChild(new StaticTreeItem(QStringList(tr("Manual"))));
|
||||
|
||||
foreach (const CMakeTool *item, CMakeToolManager::cmakeTools())
|
||||
addCMakeTool(item, false);
|
||||
|
||||
Reference in New Issue
Block a user