forked from qt-creator/qt-creator
Make PluginManager mostly static.
Change-Id: Ib938aa4999c7c418a82304c5cca2e8748ef9d228 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -1400,8 +1400,7 @@ void VcsBaseEditorWidget::slotPaste()
|
||||
{
|
||||
// Retrieve service by soft dependency.
|
||||
QObject *pasteService =
|
||||
ExtensionSystem::PluginManager::instance()
|
||||
->getObjectByClassName(QLatin1String("CodePaster::CodePasterService"));
|
||||
ExtensionSystem::PluginManager::getObjectByClassName(QLatin1String("CodePaster::CodePasterService"));
|
||||
if (pasteService) {
|
||||
QMetaObject::invokeMethod(pasteService, "postCurrentEditor");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user