From f382b97f74f26ebc93115848aaccf5223c9b6cd5 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Wed, 15 May 2013 01:54:35 +0200 Subject: [PATCH] Making GCC happy. --HG-- branch : gsoc2012-gui-editor --- .../src/plugins/gui_editor/editor_message_processor.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/editor_message_processor.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/editor_message_processor.cpp index 2a9810f24..691dbdead 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/editor_message_processor.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/editor_message_processor.cpp @@ -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