Skip to content

Commit ea24e10

Browse files
author
jef
committed
make sslmode optional
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10482 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 8213176 commit ea24e10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/core/qgsdatasourceuri.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public:
3535
const QString& aDatabase,
3636
const QString& aUsername,
3737
const QString& aPassword,
38-
SSLmode sslmode );
38+
SSLmode sslmode = SSLprefer );
3939

4040
//! Set all data source related members at once
4141
void setDataSource(const QString& aSchema,

src/core/qgsdatasourceuri.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CORE_EXPORT QgsDataSourceURI
5353
const QString& aDatabase,
5454
const QString& aUsername,
5555
const QString& aPassword,
56-
SSLmode sslmode );
56+
SSLmode sslmode = SSLprefer );
5757

5858
//! Set all data source related members at once
5959
void setDataSource( const QString& aSchema,

0 commit comments

Comments
 (0)