diff options
author | Jüri Valdmann <juri.valdmann@qt.io> | 2018-04-17 10:15:43 +0200 |
---|---|---|
committer | Jüri Valdmann <juri.valdmann@qt.io> | 2018-04-25 09:49:08 +0000 |
commit | 98ef4239a6b859522a45bdd03ba5496ea201e5f3 (patch) | |
tree | 8b5c61fa2d69799f72896155d55cf3123ca2bb24 /tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp | |
parent | c2ccb4856030db943662a3b158142d7d4803df9a (diff) |
Support std::unique_ptr and others in Q_DECLARE_PRIVATE
Use ptr.operator->() instead of ptr.data() for getting the raw pointer.
[ChangeLog][QtCore][QtGlobal] Q_DECLARE_PRIVATE can now be used with
std::unique_ptr and other smart pointer types.
Change-Id: I7f3f698d7bac477f2185837681e366057d292588
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp')
0 files changed, 0 insertions, 0 deletions