--- src/gui/AutomationPatternView.cpp.orig	2020-05-21 10:43:44 UTC
+++ src/gui/AutomationPatternView.cpp
@@ -25,6 +25,7 @@
 
 #include <QMouseEvent>
 #include <QPainter>
+#include <QPainterPath>
 #include <QMenu>
 
 #include "AutomationEditor.h"
