mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile-widgets: remove second setCredentialStatus()
call setOldStatus() and set_filename(). saveCredentials() will adjust email and password. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									6084a27229
								
							
						
					
					
						commit
						1fd6b59a21
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -456,7 +456,9 @@ void QMLManager::finishSetup() | |||
| 		openLocalThenRemote(url); | ||||
| 	} else if (!empty_string(existing_filename) && | ||||
| 				qPrefCloudStorage::cloud_verification_status() != qPrefCloudStorage::CS_UNKNOWN) { | ||||
| 		QMLPrefs::instance()->setCredentialStatus(qPrefCloudStorage::CS_NOCLOUD); | ||||
| 		QMLPrefs::instance()->setOldStatus((qPrefCloudStorage::cloud_status)qPrefCloudStorage::cloud_verification_status()); | ||||
| 		set_filename(NOCLOUD_LOCALSTORAGE); | ||||
| 		qPrefCloudStorage::set_cloud_verification_status(qPrefCloudStorage::CS_NOCLOUD); | ||||
| 		saveCloudCredentials(qPrefCloudStorage::cloud_storage_email(), qPrefCloudStorage::cloud_storage_password(), qPrefCloudStorage::cloud_storage_pin()); | ||||
| 		appendTextToLog(tr("working in no-cloud mode")); | ||||
| 		int error = parse_file(existing_filename, &dive_table, &trip_table, &dive_site_table); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue