summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-12-16 01:01:41 +0100
committerMichal Klocek <michal.klocek@qt.io>2019-11-25 12:01:39 +0100
commit3179fdc69841813dcaf529b1553be5be968225ab (patch)
tree4c469fd3a744eda9636a835c42cc966de455840c
parent2f845dfe45e3d6adbb531952ef00507ddbe9f318 (diff)
Fix build with MSVC
Q_DECL_OVERRIDE comes last in the declaration
-rw-r--r--examples/widgets/pdfviewer/pagerenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/pdfviewer/pagerenderer.h b/examples/widgets/pdfviewer/pagerenderer.h
index 7b11e9bed..35c89391e 100644
--- a/examples/widgets/pdfviewer/pagerenderer.h
+++ b/examples/widgets/pdfviewer/pagerenderer.h
@@ -25,7 +25,7 @@ signals:
void pageReady(int page, qreal zoom, QImage image);
protected:
- Q_DECL_OVERRIDE void run();
+ void run() Q_DECL_OVERRIDE;
private:
void renderPage(int page, qreal zoom);