support search
This commit is contained in:
		
							parent
							
								
									919f3bd26f
								
							
						
					
					
						commit
						d6dd8494b4
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -43,7 +43,11 @@ void LiteHtmlViewer::bindToBrowser(WebBrowser* browser) { | |||
|    */ | ||||
| } | ||||
| 
 | ||||
| void LiteHtmlViewer::findText(const QString& text, bool backwards) {} | ||||
| void LiteHtmlViewer::findText(const QString& text, bool backwards) { | ||||
|   QLiteHtmlWidget::findText(text, backwards | ||||
|                             ? QTextDocument::FindFlag::FindBackward | ||||
|                             : QTextDocument::FindFlag(0x0), false); | ||||
| } | ||||
| 
 | ||||
| void LiteHtmlViewer::setUrl(const QUrl& url) { | ||||
|   QByteArray output; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue