summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-09-14 18:10:41 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-09-15 16:51:59 +0000
commit0aad0fa07bfc27c71df27ab433916166b87148b7 (patch)
tree929798cb8aa6924de7b47467fee43ff9ffba76d2
parent3c9315592180e8ae0404bccd4a843bac977c589c (diff)
Assistant: Use new config system for cursor
Change-Id: I528a4d5f2bcefc42cdec08d6742936ccdbc4ae84 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit db8e1b5d926cce2eba2d558eca9535e43ba32957) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/assistant/help/qhelpengine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/assistant/help/qhelpengine.cpp b/src/assistant/help/qhelpengine.cpp
index 19e44cd91..bb1475fdf 100644
--- a/src/assistant/help/qhelpengine.cpp
+++ b/src/assistant/help/qhelpengine.cpp
@@ -97,28 +97,28 @@ void QHelpEnginePrivate::applyCurrentFilter()
void QHelpEnginePrivate::setContentsWidgetBusy()
{
-#ifndef QT_NO_CURSOR
+#if QT_CONFIG(cursor)
contentWidget->setCursor(Qt::WaitCursor);
#endif
}
void QHelpEnginePrivate::unsetContentsWidgetBusy()
{
-#ifndef QT_NO_CURSOR
+#if QT_CONFIG(cursor)
contentWidget->unsetCursor();
#endif
}
void QHelpEnginePrivate::setIndexWidgetBusy()
{
-#ifndef QT_NO_CURSOR
+#if QT_CONFIG(cursor)
indexWidget->setCursor(Qt::WaitCursor);
#endif
}
void QHelpEnginePrivate::unsetIndexWidgetBusy()
{
-#ifndef QT_NO_CURSOR
+#if QT_CONFIG(cursor)
indexWidget->unsetCursor();
#endif
}