diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-20 16:56:34 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-21 10:52:39 +0000 |
commit | f7f1a71ea41579c1ff86c08c16b82e4c84bc891f (patch) | |
tree | 1fb8d3ab1abac801548b02bc77d9f7886a0382ad /src/corelib/mimetypes/qmimeprovider.cpp | |
parent | b39b018f4a54252ee7a9ffada6d0f05f5896baaf (diff) |
Make QPoint*, QSize*, and QRect* binary operators hidden friends
Moves them to class scope, which will avoid them showing up as
possibilities in error messages for missing operators.
Also consolidates how they are compared, so QRectF and QSizeF act
similar to QPointF.
Change-Id: I1e12cb7e5a5c65e85c32281878da03c6136c17de
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/mimetypes/qmimeprovider.cpp')
0 files changed, 0 insertions, 0 deletions