support search
This commit is contained in:
parent
919f3bd26f
commit
d6dd8494b4
@ -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…
x
Reference in New Issue
Block a user