|
a/dirbrowser/dirbrowser.cpp |
|
b/dirbrowser/dirbrowser.cpp |
|
... |
|
... |
359 |
CDBrowser *cdb = currentBrowser();
|
359 |
CDBrowser *cdb = currentBrowser();
|
360 |
if (cdb == 0) {
|
360 |
if (cdb == 0) {
|
361 |
return;
|
361 |
return;
|
362 |
}
|
362 |
}
|
363 |
#ifdef USING_WEBENGINE
|
363 |
#ifdef USING_WEBENGINE
|
364 |
#warning tobedone
|
364 |
QWebEnginePage::FindFlags options = 0;
|
|
|
365 |
if (reverse) {
|
|
|
366 |
options |= QWebEnginePage::FindBackward;
|
|
|
367 |
}
|
|
|
368 |
cdb->findText(text, options, [] (bool) {});
|
365 |
#else
|
369 |
#else
|
366 |
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
|
370 |
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
|
367 |
if (reverse)
|
371 |
if (reverse)
|
368 |
options |= QWebPage::FindBackward;
|
372 |
options |= QWebPage::FindBackward;
|
369 |
|
373 |
|