diff --git a/src/plugins/find/findtoolbar.cpp b/src/plugins/find/findtoolbar.cpp index f8d989a89379d349c824aef0827ad7702f220258..2b5056dca8c13189e0839c13e5ce7eeea80ffb43 100644 --- a/src/plugins/find/findtoolbar.cpp +++ b/src/plugins/find/findtoolbar.cpp @@ -445,8 +445,8 @@ void FindToolBar::updateIcons() void FindToolBar::updateFlagMenus() { - bool wholeOnly = ((m_findFlags & QTextDocument::FindWholeWords)); - bool sensitive = ((m_findFlags & QTextDocument::FindCaseSensitively)); + bool wholeOnly = ((m_findFlags & IFindSupport::FindWholeWords)); + bool sensitive = ((m_findFlags & IFindSupport::FindCaseSensitively)); if (m_wholeWordAction->isChecked() != wholeOnly) m_wholeWordAction->setChecked(wholeOnly); if (m_caseSensitiveAction->isChecked() != sensitive)