Skip to content
Permalink
Browse files

make the plugin installer and the fTools enabled by default

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10369 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed Mar 21, 2009
1 parent e2e3815 commit e96e1470a661bffcd0a2d1f9d95132ef590ece4b
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/app/qgspluginregistry.cpp
@@ -344,6 +344,16 @@ void QgsPluginRegistry::restoreSessionPlugins( QString thePluginDirString )
QStringList pluginList = mPythonUtils->pluginList();
QgsDebugMsg( "Loading python plugins" );

// make the plugin installer and the fTools enabled by default:
if ( !mySettings.contains( "/PythonPlugins/plugin_installer" ) )
{
mySettings.setValue( "/PythonPlugins/plugin_installer", true );
}
if ( !mySettings.contains( "/PythonPlugins/fTools" ) )
{
mySettings.setValue( "/PythonPlugins/fTools", true );
}

for ( int i = 0; i < pluginList.size(); i++ )
{
QString packageName = pluginList[i];

0 comments on commit e96e147

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