diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-10-02 16:16:59 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-10-06 09:15:31 +0200 |
commit | b3637a7bfb07bc441afdac1391796fcbe537ae7f (patch) | |
tree | 5d96b8a1745115ab3074e0c47db28d7fd81009d7 | |
parent | 259b364da67e811df9de5e98d216442883823bac (diff) |
QColorSpace: tidies
It doesn't actually need Q_DECLARE_PRIVATE (it never uses Q_D),
it just needs to give friendship to the private class.
Change-Id: I32ac128118a0c319a374e510a18ccf0edf323da7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | src/gui/painting/qcolorspace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qcolorspace.h b/src/gui/painting/qcolorspace.h index 8b170a4e21..07f1ae4c31 100644 --- a/src/gui/painting/qcolorspace.h +++ b/src/gui/painting/qcolorspace.h @@ -124,7 +124,7 @@ public: operator QVariant() const; private: - Q_DECLARE_PRIVATE(QColorSpace) + friend class QColorSpacePrivate; QColorSpacePrivate *d_ptr = nullptr; #ifndef QT_NO_DEBUG_STREAM |