aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/printlayout.cpp1
-rw-r--r--qt-ui/printlayout.h4
-rw-r--r--qt-ui/printoptions.cpp1
-rw-r--r--qt-ui/printoptions.h1
4 files changed, 3 insertions, 4 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp
index cf8c85812..af68383dd 100644
--- a/qt-ui/printlayout.cpp
+++ b/qt-ui/printlayout.cpp
@@ -6,6 +6,7 @@
#include "mainwindow.h"
#include "printlayout.h"
#include "../dive.h"
+#include "../display.h"
/*
struct options {
diff --git a/qt-ui/printlayout.h b/qt-ui/printlayout.h
index 0b9bbc146..bf34892bf 100644
--- a/qt-ui/printlayout.h
+++ b/qt-ui/printlayout.h
@@ -2,11 +2,9 @@
#define PRINTLAYOUT_H
#include <QPrinter>
-#include <QPainter>
-#include "../display.h"
+#include <QStringList>
class PrintDialog;
-struct dive;
class PrintLayout : public QObject {
Q_OBJECT
diff --git a/qt-ui/printoptions.cpp b/qt-ui/printoptions.cpp
index a0d5b80cf..cd169d3f4 100644
--- a/qt-ui/printoptions.cpp
+++ b/qt-ui/printoptions.cpp
@@ -1,5 +1,6 @@
#include "printoptions.h"
#include "ui_printoptions.h"
+#include "../display.h"
PrintOptions::PrintOptions(QWidget *parent, struct options *printOpt)
: ui( new Ui::PrintOptions())
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h
index 83e847115..cc0f4f6d6 100644
--- a/qt-ui/printoptions.h
+++ b/qt-ui/printoptions.h
@@ -4,7 +4,6 @@
#include <QWidget>
#include <QSlider>
#include <QLabel>
-#include "../display.h"
namespace Ui {
class PrintOptions;