From 0e41a58fb8f15a9a0790db2f33efe32d3c227bc2 Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Thu, 11 Jun 2015 13:59:46 +0200 Subject: [PATCH] QPageSetupDialog: Add missing Q_DECL_OVERRIDE Also removed unnecessary virtual specifiers. Change-Id: Id3e0fcf6916d4ccde351e5456e4f92f3cbedc3f6 Reviewed-by: Timur Pocheptsov Reviewed-by: Thiago Macieira --- src/printsupport/dialogs/qpagesetupdialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/printsupport/dialogs/qpagesetupdialog.h b/src/printsupport/dialogs/qpagesetupdialog.h index 56cd48ee94..43b642b8f1 100644 --- a/src/printsupport/dialogs/qpagesetupdialog.h +++ b/src/printsupport/dialogs/qpagesetupdialog.h @@ -53,12 +53,12 @@ class Q_PRINTSUPPORT_EXPORT QPageSetupDialog : public QDialog public: explicit QPageSetupDialog(QPrinter *printer, QWidget *parent = 0); explicit QPageSetupDialog(QWidget *parent = 0); - virtual ~QPageSetupDialog(); + ~QPageSetupDialog(); #if defined(Q_OS_MAC) || defined(Q_OS_WIN) - virtual void setVisible(bool visible); + void setVisible(bool visible) Q_DECL_OVERRIDE; #endif - virtual int exec() Q_DECL_OVERRIDE; + int exec() Q_DECL_OVERRIDE; using QDialog::open; void open(QObject *receiver, const char *member);