icon for project file
This commit is contained in:
parent
409091d52b
commit
ee658b291f
|
@ -26,6 +26,8 @@ QIcon CustomFileIconProvider::icon(const QFileInfo &info) const
|
|||
icon = pIconsManager->getIcon(IconsManager::FILESYSTEM_CPPFILE);
|
||||
} else if (isCFile(info.fileName())) {
|
||||
icon = pIconsManager->getIcon(IconsManager::FILESYSTEM_CFILE);
|
||||
} else if (info.suffix()=="dev") {
|
||||
icon = pIconsManager->getIcon(IconsManager::FILESYSTEM_PROJECTFILE);
|
||||
}
|
||||
if (!icon.isNull())
|
||||
return icon;
|
||||
|
|
|
@ -185,7 +185,7 @@ void IconsManager::updateFileSystemIcons(const QString &iconSet, int size)
|
|||
mIconPixmaps.insert(FILESYSTEM_CFILE, createSVGIcon(iconFolder+"cfile.svg",size,size));
|
||||
mIconPixmaps.insert(FILESYSTEM_HFILE, createSVGIcon(iconFolder+"hfile.svg",size,size));
|
||||
mIconPixmaps.insert(FILESYSTEM_CPPFILE, createSVGIcon(iconFolder+"cppfile.svg",size,size));
|
||||
mIconPixmaps.insert(FILESYSTEM_CPPFILE, createSVGIcon(iconFolder+"cppfile.svg",size,size));
|
||||
mIconPixmaps.insert(FILESYSTEM_PROJECTFILE, createSVGIcon(iconFolder+"projectfile.svg",size,size));
|
||||
mIconPixmaps.insert(FILESYSTEM_HEADERS_FOLDER, createSVGIcon(iconFolder+"headerfolder.svg",size,size));
|
||||
mIconPixmaps.insert(FILESYSTEM_SOURCES_FOLDER, createSVGIcon(iconFolder+"sourcefolder.svg",size,size));
|
||||
}
|
||||
|
|
|
@ -70,6 +70,7 @@ public:
|
|||
FILESYSTEM_FILE,
|
||||
FILESYSTEM_CFILE,
|
||||
FILESYSTEM_HFILE,
|
||||
FILESYSTEM_PROJECTFILE,
|
||||
FILESYSTEM_CPPFILE,
|
||||
FILESYSTEM_HEADERS_FOLDER,
|
||||
FILESYSTEM_SOURCES_FOLDER,
|
||||
|
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Loading…
Reference in New Issue