CMakePM: Also show type of options in configuration tooltips

Change-Id: Ie6b6b270c83d7c5df117c16d637f362e8c01eaad
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2022-02-07 13:35:03 +01:00
parent 454682ea3f
commit 363849a372
2 changed files with 19 additions and 0 deletions

View File

@@ -623,6 +623,9 @@ QString ConfigModelTreeItem::toolTip() const
"<p>Not in CMakeCache.txt</p>");
}
}
tooltip << QCoreApplication::translate("CMakeProjectManager",
"<p>Type: <b>%1</b></p>")
.arg(dataItem->typeDisplay());
return tooltip.join("");
}