summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qprintdialog_unix.cpp
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-20 07:31:52 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-20 07:41:28 (GMT)
commit78c4473499a9269615e0001fd6afa245d4674277 (patch)
tree2dcc169fe260341f8aabd6efc9acdf43c1f96684 /src/gui/dialogs/qprintdialog_unix.cpp
parentb0743dd4e6f72108ac1fd989a418969fd241335d (diff)
downloadQt-78c4473499a9269615e0001fd6afa245d4674277.zip
Qt-78c4473499a9269615e0001fd6afa245d4674277.tar.gz
Qt-78c4473499a9269615e0001fd6afa245d4674277.tar.bz2
Make qprintdialog_unix.cpp compile on some Unices.
As part of the exception changes, the include of qfiledialog_p.h was removed and this then removed the inclusion of qevent.h which is needed by the showEvent() function in order to call accept(). Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/gui/dialogs/qprintdialog_unix.cpp')
-rw-r--r--src/gui/dialogs/qprintdialog_unix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/dialogs/qprintdialog_unix.cpp b/src/gui/dialogs/qprintdialog_unix.cpp
index a491532..eb66ecb 100644
--- a/src/gui/dialogs/qprintdialog_unix.cpp
+++ b/src/gui/dialogs/qprintdialog_unix.cpp
@@ -48,6 +48,7 @@
#include "qprintdialog.h"
#include "qfiledialog.h"
#include <QtCore/qdir.h>
+#include <QtCore/qevent.h>
#include <QtGui/qfilesystemmodel.h>
#include <QtGui/qstyleditemdelegate.h>
#include <QtGui/qprinter.h>