mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	HTML standalone exporter: don't setup preferences
We don't need them and they can cause the application to crash when called in a git hook. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									b345db0a64
								
							
						
					
					
						commit
						befa8cf32e
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -18,7 +18,6 @@ int main(int argc, char **argv)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	QApplication *application = new QApplication(argc, argv);
 | 
						QApplication *application = new QApplication(argc, argv);
 | 
				
			||||||
	git_libgit2_init();
 | 
						git_libgit2_init();
 | 
				
			||||||
	setup_system_prefs();
 | 
					 | 
				
			||||||
	prefs = default_prefs;
 | 
						prefs = default_prefs;
 | 
				
			||||||
	init_qt_late();
 | 
						init_qt_late();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue