summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2021-12-02 20:45:31 +0100
committerMarc Mutz <marc.mutz@qt.io>2021-12-07 14:55:32 +0100
commitfbef4259a83c33477d10abb5c12cfba96545dd6f (patch)
tree16e1809da55eb36672b58685069ddd763d524d94 /src
parente7bbeb6c981c7138c1195c495b4b4e8a8de5a207 (diff)
QQuickTableViewExtra: make ctor explicit
It's a private class, but add the missing explicit keyword to avoid raised eyebrows in the next reader. Task-number: QTBUG-98796 Change-Id: I63bb45d840b8b09f2b1fe3343fd8fe83416fa60e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/pdfquick/qquicktableviewextra_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdfquick/qquicktableviewextra_p.h b/src/pdfquick/qquicktableviewextra_p.h
index 4ba97a06f..c1969e04c 100644
--- a/src/pdfquick/qquicktableviewextra_p.h
+++ b/src/pdfquick/qquicktableviewextra_p.h
@@ -67,7 +67,7 @@ class Q_PDFQUICK_EXPORT QQuickTableViewExtra : public QObject
Q_PROPERTY(QQuickTableView *tableView READ tableView WRITE setTableView)
public:
- QQuickTableViewExtra(QObject *parent = nullptr);
+ explicit QQuickTableViewExtra(QObject *parent = nullptr);
~QQuickTableViewExtra() override;
QQuickTableView * tableView() const { return m_tableView; }