Skip to content
Permalink
Browse files

Disable watchDog when plugin was loaded successfully

  • Loading branch information
m-kuhn committed Mar 17, 2016
1 parent c3881d4 commit 08a1b072eb3cbb9b2c72fdee069af065a11a08ee
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgspluginregistry.cpp
@@ -292,6 +292,8 @@ void QgsPluginRegistry::loadPythonPlugin( const QString& packageName )
// add to settings
settings.setValue( "/PythonPlugins/" + packageName, true );
QgsMessageLog::logMessage( QObject::tr( "Loaded %1 (package: %2)" ).arg( pluginName, packageName ), QObject::tr( "Plugins" ), QgsMessageLog::INFO );

settings.remove( "/PythonPlugins/watchDog/" + packageName );
}
}

@@ -370,6 +372,8 @@ void QgsPluginRegistry::loadCppPlugin( const QString& theFullPathName )
QgsDebugMsg( QString( "plugin parent already set" ) );
}
}

settings.remove( "/Plugins/watchDog/" + baseName );
}
else
{

0 comments on commit 08a1b07

Please sign in to comment.
You can’t perform that action at this time.