aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/webenginehelpviewer.cpp
diff options
context:
space:
mode:
authorArtem Sokolovskii <[email protected]>2023-06-06 10:21:49 +0200
committerArtem Sokolovskii <[email protected]>2023-06-06 09:16:54 +0000
commit80665d6acf6cf5eb284c5f3e6f956d9932bcece0 (patch)
treeb51753fdc65f7a83b13aac196b9fb4ad814d3b40 /src/plugins/help/webenginehelpviewer.cpp
parent29811f81dcee8d9c2f0d608cb9d30ba42d7d0454 (diff)
Fix master build
Amend a78720060eb71b6e647eb8864b40dc6c0db48a2b Change-Id: I179fac4a604a6e582fd289ac972068b74ef4288f Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/help/webenginehelpviewer.cpp')
-rw-r--r--src/plugins/help/webenginehelpviewer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/help/webenginehelpviewer.cpp b/src/plugins/help/webenginehelpviewer.cpp
index 15a9eb9fafb..ec8929bff77 100644
--- a/src/plugins/help/webenginehelpviewer.cpp
+++ b/src/plugins/help/webenginehelpviewer.cpp
@@ -219,7 +219,7 @@ void WebEngineHelpViewer::addForwardHistoryItems(QMenu *forwardMenu)
}
}
-bool WebEngineHelpViewer::findText(const QString &text, Core::FindFlags flags, bool incremental,
+bool WebEngineHelpViewer::findText(const QString &text, Utils::FindFlags flags, bool incremental,
bool fromSearch, bool *wrapped)
{
Q_UNUSED(incremental)
@@ -227,9 +227,9 @@ bool WebEngineHelpViewer::findText(const QString &text, Core::FindFlags flags, b
if (wrapped)
*wrapped = false; // missing feature in QWebEngine
QWebEnginePage::FindFlags webEngineFlags;
- if (flags & Core::FindBackward)
+ if (flags & Utils::FindBackward)
webEngineFlags |= QWebEnginePage::FindBackward;
- if (flags & Core::FindCaseSensitively)
+ if (flags & Utils::FindCaseSensitively)
webEngineFlags |= QWebEnginePage::FindCaseSensitively;
// QWebEngineView's findText is asynchronous, and the variant taking a callback runs the
// callback on the main thread, so blocking here becomes ugly too