GLSLEditor: Compile with QT_NO_CAST_FROM_ASCII

Change-Id: I88114509d972c498c3891c45d5e1f9b7fc9d3f3f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Orgad Shaneh
2012-11-26 20:58:49 +02:00
committed by Friedemann Kleint
parent 9be874ba25
commit 2ea3b2343d
5 changed files with 28 additions and 25 deletions

View File

@@ -138,7 +138,7 @@ bool GLSLEditorPlugin::initialize(const QStringList & /*arguments*/, QString *er
// Insert marker for "Refactoring" menu:
Core::Context globalContext(Core::Constants::C_GLOBAL);
Core::Command *sep = contextMenu->addSeparator(globalContext);
sep->action()->setObjectName(Constants::M_REFACTORING_MENU_INSERTION_POINT);
sep->action()->setObjectName(QLatin1String(Constants::M_REFACTORING_MENU_INSERTION_POINT));
contextMenu->addSeparator(globalContext);
cmd = Core::ActionManager::command(TextEditor::Constants::UN_COMMENT_SELECTION);