mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	FIX: pyside2 support reading config
This commit is contained in:
		
							parent
							
								
									3b4551153f
								
							
						
					
					
						commit
						833aa3bbc6
					
				| @ -195,7 +195,7 @@ def main(): | ||||
|     def read_settings(window): | ||||
|         """Read and set window settings from a file.""" | ||||
|         settings = QSettings('QDarkStyle', 'QDarkStyle Example') | ||||
|         if args.qt_from == 'pyside': | ||||
|         if args.qt_from == 'pyside' or args.qt_from == 'pyside2': | ||||
|             pos = settings.value('pos', window.pos()) | ||||
|             size = settings.value('size', window.size()) | ||||
|             state = settings.value('state', window.saveState()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user