diff options
author | Stephan Binner <stephan.binner@basyskom.com> | 2017-07-27 22:04:01 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-08-08 07:37:59 +0000 |
commit | c36a5aee70d0d4dec9062739cde9f83139900d92 (patch) | |
tree | 65ca6ea74b1d1d8537b1cac903c6bb7eb96fe451 /src/widgets/styles/qstylehelper_p.h | |
parent | b75bc0f75c09b192dba68449b009cdf175519dbd (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_p.h')
-rw-r--r-- | src/widgets/styles/qstylehelper_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/styles/qstylehelper_p.h b/src/widgets/styles/qstylehelper_p.h index 88eb05f1d7..17b6d9ab4f 100644 --- a/src/widgets/styles/qstylehelper_p.h +++ b/src/widgets/styles/qstylehelper_p.h @@ -72,12 +72,12 @@ namespace QStyleHelper { QString uniqueName(const QString &key, const QStyleOption *option, const QSize &size); qreal dpiScaled(qreal value); -#ifndef QT_NO_DIAL +#if QT_CONFIG(dial) qreal angle(const QPointF &p1, const QPointF &p2); QPolygonF calcLines(const QStyleOptionSlider *dial); int calcBigLineSize(int radius); void drawDial(const QStyleOptionSlider *dial, QPainter *painter); -#endif //QT_NO_DIAL +#endif //QT_CONFIG(dial) void drawBorderPixmap(const QPixmap &pixmap, QPainter *painter, const QRect &rect, int left = 0, int top = 0, int right = 0, int bottom = 0); |