summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylehelper.cpp
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-27 22:04:01 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-08-08 07:37:59 +0000
commitc36a5aee70d0d4dec9062739cde9f83139900d92 (patch)
tree65ca6ea74b1d1d8537b1cac903c6bb7eb96fe451 /src/widgets/styles/qstylehelper.cpp
parentb75bc0f75c09b192dba68449b009cdf175519dbd (diff)
Convert features.dial to QT_[REQUIRE_]CONFIG
Change-Id: I9fea2451fe3567fdd1af1540e9a55f218f54b569 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
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,