aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-13 13:32:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 13:03:56 -0800
commitfa6eb6144bc756380c4148d05a67a99b0ac25ef3 (patch)
tree2b8090561e1ad3e7c982cd6af56d2b08dbf4b8cf /desktop-widgets/mainwindow.cpp
parent2239ffe13c1babcae7a0822c83ab8d0f23317358 (diff)
downloadsubsurface-fa6eb6144bc756380c4148d05a67a99b0ac25ef3.tar.gz
printing: move #includes from headers to source files
To decrease include-file interdependencies. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index 201ac1fd8..e56384540 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -55,9 +55,12 @@
#include "profile-widget/profilewidget2.h"
#ifndef NO_PRINTING
+#include <QPrinter>
#include <QPrintDialog>
#include <QBuffer>
#include "desktop-widgets/printdialog.h"
+#include "desktop-widgets/printer.h"
+#include "desktop-widgets/templatelayout.h"
#endif
#include "qt-models/cylindermodel.h"