Fix build.
This commit is contained in:
		
							parent
							
								
									f34c25609c
								
							
						
					
					
						commit
						6866d762ae
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -36,7 +36,7 @@ void MessagePreviewer::createConnections() { | |||
| 			                                                   SETTING(Browser::OpenLinksInExternalBrowserRightAway)).toBool(); | ||||
| 
 | ||||
| 			if (open_externally_now) { | ||||
| 				WebFactory::instance()->openUrlInExternalBrowser(url.toString()); | ||||
|         qApp->web()->openUrlInExternalBrowser(url.toString()); | ||||
| 			} | ||||
| 
 | ||||
| 			else { | ||||
|  | @ -59,7 +59,7 @@ void MessagePreviewer::createConnections() { | |||
| 				} | ||||
| 
 | ||||
| 				if (box.clickedButton() == btn_open) { | ||||
| 					WebFactory::instance()->openUrlInExternalBrowser(url.toString()); | ||||
|           qApp->web()->openUrlInExternalBrowser(url.toString()); | ||||
| 				} | ||||
| 
 | ||||
| 				else if (box.clickedButton() == btn_download) { | ||||
|  |  | |||
|  | @ -268,7 +268,7 @@ int TabWidget::addBrowser(bool move_after_current, bool make_active, const QUrl& | |||
| #else | ||||
| 	Q_UNUSED(move_after_current) | ||||
| 	Q_UNUSED(make_active) | ||||
| 	WebFactory::instance()->openUrlInExternalBrowser(initial_url.toString()); | ||||
|   qApp->web()->openUrlInExternalBrowser(initial_url.toString()); | ||||
| 	return -1; | ||||
| #endif | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue