From c0ae76b3d99cce258b6a2755fbf34e5539d980b6 Mon Sep 17 00:00:00 2001 From: Blottiere Paul Date: Fri, 22 Sep 2023 10:52:05 +0200 Subject: [PATCH] Remove unnecessary settings --- src/providers/postgres/qgspgnewconnection.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/providers/postgres/qgspgnewconnection.cpp b/src/providers/postgres/qgspgnewconnection.cpp index cebb3ccd168c..76fa0600721f 100644 --- a/src/providers/postgres/qgspgnewconnection.cpp +++ b/src/providers/postgres/qgspgnewconnection.cpp @@ -166,16 +166,7 @@ void QgsPgNewConnection::accept() settings.setValue( baseKey + "/username", mAuthSettings->storeUsernameIsChecked( ) ? mAuthSettings->username() : QString() ); settings.setValue( baseKey + "/password", mAuthSettings->storePasswordIsChecked( ) && !hasAuthConfigID ? mAuthSettings->password() : QString() ); settings.setValue( baseKey + "/authcfg", mAuthSettings->configId() ); - settings.setValue( baseKey + "/publicOnly", cb_publicSchemaOnly->isChecked() ); - settings.setValue( baseKey + "/geometryColumnsOnly", cb_geometryColumnsOnly->isChecked() ); - settings.setValue( baseKey + "/dontResolveType", cb_dontResolveType->isChecked() ); - settings.setValue( baseKey + "/allowGeometrylessTables", cb_allowGeometrylessTables->isChecked() ); settings.setValue( baseKey + "/sslmode", cbxSSLmode->currentData().toInt() ); - settings.setValue( baseKey + "/saveUsername", mAuthSettings->storeUsernameIsChecked( ) ? "true" : "false" ); - settings.setValue( baseKey + "/savePassword", mAuthSettings->storePasswordIsChecked( ) && !hasAuthConfigID ? "true" : "false" ); - settings.setValue( baseKey + "/estimatedMetadata", cb_useEstimatedMetadata->isChecked() ); - settings.setValue( baseKey + "/projectsInDatabase", cb_projectsInDatabase->isChecked() ); - settings.setValue( baseKey + "/metadataInDatabase", cb_metadataInDatabase->isChecked() ); // remove old save setting settings.remove( baseKey + "/save" );