mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Don't call deleteLater on ui elements
I'll admit that I don't fully understand this part of Qt. But commenting out the deleteLater (like we already do for another one) fixes the crash - and shouldn't do more than add a potential small memory leak. Fixes #309 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									7c28cb989b
								
							
						
					
					
						commit
						766b6b3e52
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -91,7 +91,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton* button)
 | 
			
		|||
			// we may want to clean up after ourselves, but this
 | 
			
		||||
			// makes Subsurface throw a SIGSEGV...
 | 
			
		||||
			// manager->deleteLater();
 | 
			
		||||
			reply->deleteLater();
 | 
			
		||||
			// reply->deleteLater();
 | 
			
		||||
			ui.progressBar->setMaximum(1);
 | 
			
		||||
			break;
 | 
			
		||||
		case QDialogButtonBox::HelpRole:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue