summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpengine.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2014-02-28 12:19:55 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-28 12:52:28 +0100
commit2c97f9ae189528bce8f41ead334a95ca52a5b8d0 (patch)
treebed3cdc78fa22313edc62c8a5a070ba3a23ef42f /src/assistant/help/qhelpengine.cpp
parent1382c31fcec5f7aa9522aaf3cdbb59fd6c956f96 (diff)
Assistant: Fixed build for QT_NO_CURSOR
Change-Id: I5f1f3774ac81ea61406c6ef964fd189051ebe994 Reviewed-by: David Schulz <david.schulz@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Diffstat (limited to 'src/assistant/help/qhelpengine.cpp')
-rw-r--r--src/assistant/help/qhelpengine.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/assistant/help/qhelpengine.cpp b/src/assistant/help/qhelpengine.cpp
index 7e79b2d10..ec8fb80dc 100644
--- a/src/assistant/help/qhelpengine.cpp
+++ b/src/assistant/help/qhelpengine.cpp
@@ -96,22 +96,30 @@ void QHelpEnginePrivate::applyCurrentFilter()
void QHelpEnginePrivate::setContentsWidgetBusy()
{
+#ifndef QT_NO_CURSOR
contentWidget->setCursor(Qt::WaitCursor);
+#endif
}
void QHelpEnginePrivate::unsetContentsWidgetBusy()
{
+#ifndef QT_NO_CURSOR
contentWidget->unsetCursor();
+#endif
}
void QHelpEnginePrivate::setIndexWidgetBusy()
{
+#ifndef QT_NO_CURSOR
indexWidget->setCursor(Qt::WaitCursor);
+#endif
}
void QHelpEnginePrivate::unsetIndexWidgetBusy()
{
+#ifndef QT_NO_CURSOR
indexWidget->unsetCursor();
+#endif
}
void QHelpEnginePrivate::stopDataCollection()