Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
213fca14
Commit
213fca14
authored
Jul 20, 2012
by
Sebastian Eichelbaum
Browse files
[FIX
#195
] issue fixed in template module where icon file was not found
parent
aa8b60d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
src/modules/template/resources/META
src/modules/template/resources/META
+1
-1
src/qt4gui/qt4/WIconManager.cpp
src/qt4gui/qt4/WIconManager.cpp
+0
-4
No files found.
src/modules/template/resources/META
View file @
213fca14
...
...
@@ -34,7 +34,7 @@
{
// Provide an icon. If the icon exists, it overrides the one provided by your
// getXPMIcon method. This path is relative to your module's resource directory.
icon="WMTe
a
mplate.xpm";
icon="WMTemplate.xpm";
// Where to find the module?
website = "http://www.openwalnut.org";
...
...
src/qt4gui/qt4/WIconManager.cpp
View file @
213fca14
...
...
@@ -124,10 +124,6 @@ QIcon WIconManager::getIcon( const std::string name, const QIcon& defaultIcon )
{
try
{
wlog
::
error
(
"hhhhhhhhhhhhhhhhhhHaaaaaaaaaaaaasssssssssssssssa"
)
<<
meta
->
getIcon
().
string
()
<<
" "
<<
name
;
return
QIcon
(
QPixmap
(
QString
::
fromStdString
(
meta
->
getIcon
().
string
()
)
)
);
}
catch
(
...
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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