diff options
author | Gaetan Bisson | 2017-04-04 13:49:43 -1000 |
---|---|---|
committer | Gaetan Bisson | 2017-04-04 13:49:43 -1000 |
commit | 8697d698116895579b0b5c944ae93f24e5712762 (patch) | |
tree | be8dfab6d1d7ce0c8d013d942d5f18e45184b337 /headers.patch | |
parent | 203dccbd08006b37cdfdb8ad9f9666e39fca1c73 (diff) | |
download | aur-8697d698116895579b0b5c944ae93f24e5712762.tar.gz |
fix build with recent gcc/qt
Diffstat (limited to 'headers.patch')
-rw-r--r-- | headers.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/headers.patch b/headers.patch new file mode 100644 index 000000000000..a7327520064c --- /dev/null +++ b/headers.patch @@ -0,0 +1,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> |