mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile-widgets: remove first setCredentialStatus() in finishSetup()
This setCredentialStatus() will never do anything, because qPrefCloudStorage is identical to prefs.cloud_verification_status, and can thus be safely removed. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									0c840ba22a
								
							
						
					
					
						commit
						6084a27229
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -444,7 +444,7 @@ void QMLManager::finishSetup() | ||||||
| { | { | ||||||
| 	// Initialize cloud credentials.
 | 	// Initialize cloud credentials.
 | ||||||
| 	git_local_only = !prefs.cloud_auto_sync; | 	git_local_only = !prefs.cloud_auto_sync; | ||||||
| 	QMLPrefs::instance()->setCredentialStatus((qPrefCloudStorage::cloud_status) prefs.cloud_verification_status); | 
 | ||||||
| 	// if the cloud credentials are valid, we should get the GPS Webservice ID as well
 | 	// if the cloud credentials are valid, we should get the GPS Webservice ID as well
 | ||||||
| 	QString url; | 	QString url; | ||||||
| 	if (!qPrefCloudStorage::cloud_storage_email().isEmpty() && | 	if (!qPrefCloudStorage::cloud_storage_email().isEmpty() && | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue