forked from qt-creator/qt-creator
Share "auto-detected" UI string and add tool tip
No need to have the same translatable string repeated at all these places. Also add tooltip to expand a bit on what "auto-detected" actually means. Task-number: QTCREATORBUG-25291 Change-Id: I25d43486758ba17256cf7e1ea2eea0ec3d567b62 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -232,7 +232,9 @@ public:
|
||||
CMakeToolItemModel::CMakeToolItemModel()
|
||||
{
|
||||
setHeader({tr("Name"), tr("Location")});
|
||||
rootItem()->appendChild(new StaticTreeItem(tr("Auto-detected")));
|
||||
rootItem()->appendChild(
|
||||
new StaticTreeItem({ProjectExplorer::Constants::msgAutoDetected()},
|
||||
{ProjectExplorer::Constants::msgAutoDetectedToolTip()}));
|
||||
rootItem()->appendChild(new StaticTreeItem(tr("Manual")));
|
||||
|
||||
foreach (const CMakeTool *item, CMakeToolManager::cmakeTools())
|
||||
|
||||
Reference in New Issue
Block a user