[QGIS Commit] r10482 - in trunk/qgis: python/core src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Apr 6 05:41:31 EDT 2009


Author: jef
Date: 2009-04-06 05:41:30 -0400 (Mon, 06 Apr 2009)
New Revision: 10482

Modified:
   trunk/qgis/python/core/qgsdatasourceuri.sip
   trunk/qgis/src/core/qgsdatasourceuri.h
Log:
make sslmode optional

Modified: trunk/qgis/python/core/qgsdatasourceuri.sip
===================================================================
--- trunk/qgis/python/core/qgsdatasourceuri.sip	2009-04-06 06:42:18 UTC (rev 10481)
+++ trunk/qgis/python/core/qgsdatasourceuri.sip	2009-04-06 09:41:30 UTC (rev 10482)
@@ -35,7 +35,7 @@
                      const QString& aDatabase,
                      const QString& aUsername,
                      const QString& aPassword,
-                     SSLmode sslmode );
+                     SSLmode sslmode = SSLprefer );
   
   //! Set all data source related members at once
   void setDataSource(const QString& aSchema,

Modified: trunk/qgis/src/core/qgsdatasourceuri.h
===================================================================
--- trunk/qgis/src/core/qgsdatasourceuri.h	2009-04-06 06:42:18 UTC (rev 10481)
+++ trunk/qgis/src/core/qgsdatasourceuri.h	2009-04-06 09:41:30 UTC (rev 10482)
@@ -53,7 +53,7 @@
                         const QString& aDatabase,
                         const QString& aUsername,
                         const QString& aPassword,
-                        SSLmode sslmode );
+                        SSLmode sslmode = SSLprefer );
 
     //! Set all data source related members at once
     void setDataSource( const QString& aSchema,



More information about the QGIS-commit mailing list