[QGIS Commit] r10369 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Mar 21 13:14:22 EDT 2009
Author: borysiasty
Date: 2009-03-21 13:14:22 -0400 (Sat, 21 Mar 2009)
New Revision: 10369
Modified:
trunk/qgis/src/app/qgspluginregistry.cpp
Log:
make the plugin installer and the fTools enabled by default
Modified: trunk/qgis/src/app/qgspluginregistry.cpp
===================================================================
--- trunk/qgis/src/app/qgspluginregistry.cpp 2009-03-21 16:59:53 UTC (rev 10368)
+++ trunk/qgis/src/app/qgspluginregistry.cpp 2009-03-21 17:14:22 UTC (rev 10369)
@@ -344,6 +344,16 @@
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];
More information about the QGIS-commit
mailing list