forked from qt-creator/qt-creator
CMakeProjectManager: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using Change-Id: I6a272bc3b75835840b3d6cbe83be6f50f94bbedb Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -140,7 +140,7 @@ void CMakeKitInformation::fix(Kit *k)
|
||||
KitInformation::ItemList CMakeKitInformation::toUserOutput(const Kit *k) const
|
||||
{
|
||||
const CMakeTool *const tool = cmakeTool(k);
|
||||
return ItemList() << qMakePair(tr("CMake"), tool == 0 ? tr("Unconfigured") : tool->displayName());
|
||||
return ItemList() << qMakePair(tr("CMake"), tool ? tool->displayName() : tr("Unconfigured"));
|
||||
}
|
||||
|
||||
KitConfigWidget *CMakeKitInformation::createConfigWidget(Kit *k) const
|
||||
|
||||
Reference in New Issue
Block a user