Skip to content
Snippets Groups Projects
Commit 4d21936b authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Fixes: Set icons for .hpp and .c files

Details:
Added one new purple icon for .c files and registered
the same icon for .hpp extensions.
parent 2fcf2ac5
No related branches found
No related tags found
No related merge requests found
......@@ -4,5 +4,6 @@
<file>images/qt_cpp.png</file>
<file>images/qt_h.png</file>
<file>CppEditor.mimetypes.xml</file>
<file>images/qt_c.png</file>
</qresource>
</RCC>
......@@ -71,8 +71,12 @@ CppEditorFactory::CppEditorFactory(CppPlugin *owner) :
Core::FileIconProvider *iconProvider = Core::FileIconProvider::instance();
iconProvider->registerIconOverlayForSuffix(QIcon(":/cppeditor/images/qt_cpp.png"),
QLatin1String("cpp"));
iconProvider->registerIconOverlayForSuffix(QIcon(":/cppeditor/images/qt_cpp.png"),
QLatin1String("hpp"));
iconProvider->registerIconOverlayForSuffix(QIcon(":/cppeditor/images/qt_h.png"),
QLatin1String("h"));
iconProvider->registerIconOverlayForSuffix(QIcon(":/cppeditor/images/qt_c.png"),
QLatin1String("c"));
}
QString CppEditorFactory::kind() const
......
src/plugins/cppeditor/images/qt_c.png

367 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment