Fixes: - use QT_NO_WEBKIT instead of QT_WEBKIT, USE_WEBKIT

Task:     - none
AutoTest: - compile test
Details:  - use QT_NO_WEBKIT instead of QT_WEBKIT, USE_WEBKIT
This commit is contained in:
Patrick Star
2008-12-02 13:38:31 +01:00
parent 03b3f5b3a7
commit 7d6f2bb45a
8 changed files with 19 additions and 20 deletions

View File

@@ -54,7 +54,7 @@ QString HelpFindSupport::currentFindString() const
HelpViewer* viewer = m_centralWidget->currentHelpViewer();
if (!viewer)
return QString();
#if defined(USE_WEBKIT)
#if !defined(QT_NO_WEBKIT)
return viewer->selectedText();
#else
return viewer->textCursor().selectedText();