summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-09-14 18:10:41 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-09-15 10:35:17 +0200
commitdb8e1b5d926cce2eba2d558eca9535e43ba32957 (patch)
tree3c148491d62af971cdb02b48ddf45c325d51084c
parent979f7fe10b2c2a921efa483afe887c7d17297fc7 (diff)
Assistant: Use new config system for cursor
Pick-to: 5.15 Change-Id: I528a4d5f2bcefc42cdec08d6742936ccdbc4ae84 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-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
}