Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
2cd3ba8c
Commit
2cd3ba8c
authored
Nov 25, 2010
by
Rhys Weatherley
Browse files
Fix the icon for the GLSL mime type
parent
cda026ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/glsleditor/glsleditorplugin.cpp
View file @
2cd3ba8c
...
...
@@ -150,7 +150,9 @@ bool GLSLEditorPlugin::initialize(const QStringList & /*arguments*/, QString *er
error_message
->
clear
();
Core
::
FileIconProvider
*
iconProvider
=
Core
::
FileIconProvider
::
instance
();
iconProvider
->
registerIconOverlayForSuffix
(
QIcon
(
QLatin1String
(
":/glsleditor/images/glslfile.png"
)),
"glsl"
);
Core
::
MimeDatabase
*
mimeDatabase
=
Core
::
ICore
::
instance
()
->
mimeDatabase
();
iconProvider
->
registerIconOverlayForMimeType
(
QIcon
(
QLatin1String
(
":/glsleditor/images/glslfile.png"
)),
mimeDatabase
->
findByType
(
QLatin1String
(
GLSLEditor
::
Constants
::
GLSL_MIMETYPE
)));
Core
::
BaseFileWizardParameters
fragWizardParameters
(
Core
::
IWizard
::
FileWizard
);
fragWizardParameters
.
setCategory
(
QLatin1String
(
Constants
::
WIZARD_CATEGORY_GLSL
));
...
...
src/plugins/glsleditor/images/glslfile.png
View replaced file @
cda026ee
View file @
2cd3ba8c
385 Bytes
|
W:
|
H:
321 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment