From e4f35fb51a549ed666728eaa947728686a415ac9 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 4 Dec 2013 15:44:31 +0200 Subject: Print: fix some forward declarations In the PrintLayout constructor we receive a pointer of PrintDialog, but the type is incomplete, as we only forward declare it in the class header. If we decide to eventually call a method from PrintDialog we also need to include printdialog.h in printlayout.cpp. The patch also fixes a similar issue in printdialog.h. Signed-off-by: Lubomir I. Ivanov --- qt-ui/printlayout.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qt-ui/printlayout.cpp') diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index aa703698a..485d8a1d2 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -7,9 +7,10 @@ #include #include "mainwindow.h" #include "profilegraphics.h" -#include "printlayout.h" #include "../dive.h" #include "../display.h" +#include "printdialog.h" +#include "printlayout.h" #include "models.h" #include "modeldelegates.h" -- cgit v1.2.3-70-g09d2