summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/styles/qstylehelper.cpp')
-rw-r--r--src/widgets/styles/qstylehelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp
index ffb898df57..43bec9a096 100644
--- a/src/widgets/styles/qstylehelper.cpp
+++ b/src/widgets/styles/qstylehelper.cpp
@@ -131,7 +131,7 @@ bool hasAncestor(QObject *obj, QAccessible::Role role)
#endif // QT_NO_ACCESSIBILITY
-#ifndef QT_NO_DIAL
+#if QT_CONFIG(dial)
int calcBigLineSize(int radius)
{
@@ -350,7 +350,7 @@ void drawDial(const QStyleOptionSlider *option, QPainter *painter)
painter->drawEllipse(dialRect);
painter->restore();
}
-#endif //QT_NO_DIAL
+#endif //QT_CONFIG(dial)
void drawBorderPixmap(const QPixmap &pixmap, QPainter *painter, const QRect &rect,
int left, int top, int right,