summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kernel/qprinter_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/qprinter_p.h b/src/kernel/qprinter_p.h
index 79c5f8271..b7f6d68c4 100644
--- a/src/kernel/qprinter_p.h
+++ b/src/kernel/qprinter_p.h
@@ -43,6 +43,7 @@
#ifndef TQT_NO_PRINTER
#ifndef QT_H
+#include <ntqprinter.h>
#include <ntqshared.h>
#include <ntqstring.h>
#include <ntqsize.h>
@@ -53,6 +54,8 @@ class TQPrinterPrivate
public:
TQ_UINT32 printerOptions;
TQPrinter::PrintRange printRange;
+
+ virtual ~TQPrinterPrivate() {};
};
#endif