diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-13 14:31:09 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-02-26 22:12:07 +0000 |
| commit | fe957818973b4dfa09dc30fe82ad0cce479c7139 (patch) | |
| tree | 634bc981a943ea113c87cdce36de02475e6cb1ba /src/corelib/kernel/qobject.cpp | |
| parent | 4275dfb7bfa78999bb8edf27ab18433f97cd3490 (diff) | |
QColorDialogOptionsPrivate: clean up inheritance and RO5
It's unclear why the class inherits from QSharedData, since it's
never used as a refcounted entity. Instead, for some reason,
QColorDialogOptions+QColorDialogOptionsPrivate are combined into
one struct (ColorDialogCombined). Therefore, drop the inheritance
from QSharedData. Other platform dialog classes have the same issue,
will tackle them in a follow-up commit.
QColorDialogOptionsPrivate also declares a destructor. Since apparently
copies are needed, redeclare them, but suppress assignments (uncertain
use case). This fixes Clang's -Wdeprecated-copy-with-user-provided-dtor.
Change-Id: I335ef0e8ef541762fd03bf76b3e4fd4dd0828505
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
