Version control: Compile with QT_NO_CAST_FROM_ASCII.

Change-Id: I85c007045efdb207f397b42fbce7a554ac9c9819
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Friedemann Kleint
2012-01-31 10:57:10 +01:00
committed by Tobias Hunger
parent cdae5f2102
commit e2ace515e2
28 changed files with 63 additions and 52 deletions

View File

@@ -1397,7 +1397,7 @@ void VcsBaseEditorWidget::slotPaste()
// Retrieve service by soft dependency.
QObject *pasteService =
ExtensionSystem::PluginManager::instance()
->getObjectByClassName("CodePaster::CodePasterService");
->getObjectByClassName(QLatin1String("CodePaster::CodePasterService"));
if (pasteService) {
QMetaObject::invokeMethod(pasteService, "postCurrentEditor");
} else {