From b3880a052ef103fa9d171158c1ea38a51c220cbd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 21 Oct 2021 11:25:26 +0200 Subject: spline: really fix old Qt workaround Fallout after 5ec680d09ced3cdf10ae4fe6ee36985dbcba913c --- spline/spline-widget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index 6746a6c0..7a962182 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -14,6 +14,10 @@ #include +#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +# define OTR_OBSOLETE_QT_WORKAROUND +#endif + namespace spline_detail { spline_widget::spline_widget(QWidget *parent) : QWidget(parent) -- cgit v1.2.3