summarylogtreecommitdiffstats
path: root/headers.patch
blob: a7327520064cdca893b85a153d4f4880272036a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/desktop-widgets/printer.cpp b/desktop-widgets/printer.cpp
index 1ea275cf..25d3ceeb 100644
--- a/desktop-widgets/printer.cpp
+++ b/desktop-widgets/printer.cpp
@@ -3,6 +3,7 @@
 #include "core/statistics.h"
 #include "core/helpers.h"
 
+#include <QtMath>
 #include <algorithm>
 #include <QPainter>
 #ifdef USE_WEBENGINE
diff --git a/desktop-widgets/printer.h b/desktop-widgets/printer.h
index fc867bb3..f7299f01 100644
--- a/desktop-widgets/printer.h
+++ b/desktop-widgets/printer.h
@@ -1,6 +1,7 @@
 #ifndef PRINTER_H
 #define PRINTER_H
 
+#include <QPointer>
 #include <QPrinter>
 #ifdef USE_WEBENGINE
 #include <QWebEngineView>