Making GCC happy.

--HG--
branch : gsoc2012-gui-editor
This commit is contained in:
dfighter1985 2013-05-15 01:54:35 +02:00
parent b29fd5ca11
commit f382b97f74

View file

@ -86,11 +86,14 @@ namespace GUIEditor
return;
}
std::string pgName = std::string( parentGroup.toUtf8() );
std::string wName = std::string( name.toUtf8() );
CInterfaceElement *e =
CWidgetManager::getInstance()->addWidgetToGroup(
std::string( parentGroup.toUtf8() ),
pgName,
className,
std::string( name.toUtf8() )
wName
);
// Failed to add widget