Commit 213fca14 by Sebastian Eichelbaum

[FIX #195] issue fixed in template module where icon file was not found

parent aa8b60d2
......@@ -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="WMTeamplate.xpm";
icon="WMTemplate.xpm";
// Where to find the module?
website = "http://www.openwalnut.org";
......
......@@ -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( ... )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment