Fix build: add missing #includes

qt-ui/profile/profilewidget2.cpp:1351:10: error: invalid use of incomplete type ‘class QDebug’
qt-ui/printlayout.cpp:141:27: error: variable ‘QPointer<ProfileWidget2> profile’ has initializer but incomplete type

In commit f9ceff009b ("Clean up the header files") things got broken for
an as of now unreliesed future version of Qt.

Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Thiago Macieira 2015-01-17 07:02:03 -08:00 committed by Dirk Hohndel
parent 76e3a10f08
commit f5726ffa9d
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QPicture> #include <QPicture>
#include <QMessageBox> #include <QMessageBox>
#include <QPointer>
#include "mainwindow.h" #include "mainwindow.h"
#include "printdialog.h" #include "printdialog.h"

View file

@ -15,6 +15,7 @@
#include <QtCore/qmath.h> #include <QtCore/qmath.h>
#include <QMessageBox> #include <QMessageBox>
#include <QInputDialog> #include <QInputDialog>
#include <QDebug>
#ifndef QT_NO_DEBUG #ifndef QT_NO_DEBUG
#include <QTableView> #include <QTableView>