[QGIS Commit] r10370 - branches/Version-1_0/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Mar 21 13:15:08 EDT 2009


Author: borysiasty
Date: 2009-03-21 13:15:08 -0400 (Sat, 21 Mar 2009)
New Revision: 10370

Modified:
   branches/Version-1_0/src/app/qgspluginregistry.cpp
Log:
make the plugin installer enabled by default


Modified: branches/Version-1_0/src/app/qgspluginregistry.cpp
===================================================================
--- branches/Version-1_0/src/app/qgspluginregistry.cpp	2009-03-21 17:14:22 UTC (rev 10369)
+++ branches/Version-1_0/src/app/qgspluginregistry.cpp	2009-03-21 17:15:08 UTC (rev 10370)
@@ -344,6 +344,12 @@
     QStringList pluginList = mPythonUtils->pluginList();
     QgsDebugMsg( "Loading python plugins" );
 
+    // make the plugin installer enabled by default:
+    if ( !mySettings.contains( "/PythonPlugins/plugin_installer" ) )
+    {
+      mySettings.setValue( "/PythonPlugins/plugin_installer", true );
+    }
+
     for ( int i = 0; i < pluginList.size(); i++ )
     {
       QString packageName = pluginList[i];



More information about the QGIS-commit mailing list