forked from qt-creator/qt-creator
CMakeProjectManager: Conform Modules icon
The Modules node in the tree of a loaded CMake project looks quite different than the rest of the icons. Also, it is neither available as High-DPI variant nor do we have the original vector graphics for it. Thich change fixes the above issues. Task-number: QTCREATORBUG-25412 Change-Id: I4ad5853330424f9fec2520b8b539a325b6c80176 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -46,7 +46,9 @@ CMakeInputsNode::CMakeInputsNode(const Utils::FilePath &cmakeLists) :
|
||||
{
|
||||
setPriority(Node::DefaultPriority - 10); // Bottom most!
|
||||
setDisplayName(QCoreApplication::translate("CMakeFilesProjectNode", "CMake Modules"));
|
||||
setIcon(QIcon(":/projectexplorer/images/session.png")); // TODO: Use a better icon!
|
||||
static const QIcon modulesIcon = Core::FileIconProvider::directoryIcon(
|
||||
ProjectExplorer::Constants::FILEOVERLAY_MODULES);
|
||||
setIcon(modulesIcon);
|
||||
setListInProject(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user