File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ void QgsPluginRegistry::loadPythonPlugin( const QString &packageName )
304
304
return ;
305
305
}
306
306
307
+ QgsScopedRuntimeProfile profile ( packageName );
307
308
mPythonUtils ->loadPlugin ( packageName );
308
309
mPythonUtils ->startPlugin ( packageName );
309
310
@@ -337,6 +338,8 @@ void QgsPluginRegistry::loadCppPlugin( const QString &fullPathName )
337
338
return ;
338
339
}
339
340
341
+ QgsScopedRuntimeProfile profile ( baseName );
342
+
340
343
QLibrary myLib ( fullPathName );
341
344
342
345
QString myError; // we will only show detailed diagnostics if something went wrong
@@ -483,6 +486,8 @@ void QgsPluginRegistry::restoreSessionPlugins( const QString &pluginDirString )
483
486
{
484
487
QgsSettings mySettings;
485
488
489
+ QgsScopedRuntimeProfile profile ( QObject::tr ( " Load plugins" ) );
490
+
486
491
#if defined(Q_OS_WIN) || defined(__CYGWIN__)
487
492
QString pluginExt = " *.dll" ;
488
493
#elif ANDROID
You can’t perform that action at this time.
0 commit comments