summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-21 11:25:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-10-21 11:25:26 +0200
commitb3880a052ef103fa9d171158c1ea38a51c220cbd (patch)
tree2c33d2b86ff6db02b79147c2b1b11f660201ee5d /spline
parent848fc7446a1de90b1247d1fe7d56ce4f81369fc7 (diff)
spline: really fix old Qt workaround
Fallout after 5ec680d09ced3cdf10ae4fe6ee36985dbcba913c
Diffstat (limited to 'spline')
-rw-r--r--spline/spline-widget.cpp4
1 files changed, 4 insertions, 0 deletions
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 <QDebug>
+#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)