mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme
Shortcut and use qPrefDisplay::theme() direct Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
		
							parent
							
								
									51bc41b517
								
							
						
					
					
						commit
						c9122283cc
					
				
					 4 changed files with 4 additions and 28 deletions
				
			
		|  | @ -108,19 +108,6 @@ void QMLPrefs::setShowPin(bool enable) | |||
| 	emit showPinChanged(); | ||||
| } | ||||
| 
 | ||||
| const QString QMLPrefs::theme() const | ||||
| { | ||||
| 	return qPrefDisplay::theme(); | ||||
| } | ||||
| 
 | ||||
| void QMLPrefs::setTheme(QString theme) | ||||
| { | ||||
| 	qPrefDisplay::set_theme(theme); | ||||
| 	emit themeChanged(); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| /*** public slot functions ***/ | ||||
| void QMLPrefs::cancelCredentialsPinSetup() | ||||
| {    | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue