Skip to content

Instantly share code, notes, and snippets.

@enricozb
Created August 23, 2020 18:32
Show Gist options
  • Save enricozb/e543f8c013f97270d945fa65eef4a072 to your computer and use it in GitHub Desktop.
Save enricozb/e543f8c013f97270d945fa65eef4a072 to your computer and use it in GitHub Desktop.
flameshot macOS 10.15.6 patch
diff --git a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
index 335b29c..33310f3 100644
--- a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
+++ b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
@@ -27,6 +27,7 @@
#include <QLineF>
#include <QDragEnterEvent>
#include <QMimeData>
+#include <QPainterPath>
#include "color_utils.hpp"
namespace color_widgets {
diff --git a/src/tools/arrow/arrowtool.h b/src/tools/arrow/arrowtool.h
index 9d81452..add2369 100644
--- a/src/tools/arrow/arrowtool.h
+++ b/src/tools/arrow/arrowtool.h
@@ -19,6 +19,7 @@
#include "src/tools/abstracttwopointtool.h"
#include <QPainter>
+#include <QPainterPath>
class ArrowTool : public AbstractTwoPointTool {
Q_OBJECT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment