diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-03-05 16:52:42 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-03-09 07:56:40 +0000 |
commit | 3ff80d1fe4c35f68bcebde7dccfde7b0fb03014f (patch) | |
tree | ea8ba3b96bc8ad82ebf9438527711a2c16f7b082 /src/printsupport/kernel/qprintengine_win_p.h | |
parent | 1cd8d67d5f9bb0cd17147481544db8fb9342354d (diff) |
Windows printing: Add more error reporting.
Task-number: QTCREATORBUG-13742
Change-Id: Ic234c7e86531c0924ddc03c63cd50b442bdcc9e9
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'src/printsupport/kernel/qprintengine_win_p.h')
-rw-r--r-- | src/printsupport/kernel/qprintengine_win_p.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/printsupport/kernel/qprintengine_win_p.h b/src/printsupport/kernel/qprintengine_win_p.h index 2f2a92f822..98a4cff1a8 100644 --- a/src/printsupport/kernel/qprintengine_win_p.h +++ b/src/printsupport/kernel/qprintengine_win_p.h @@ -152,10 +152,7 @@ public: is handled in the next begin or newpage. */ void doReinit(); - inline bool resetDC() { - hdc = ResetDC(hdc, devMode); - return hdc != 0; - } + bool resetDC(); void strokePath(const QPainterPath &path, const QColor &color); void fillPath(const QPainterPath &path, const QColor &color); |