diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-10-09 23:35:06 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-10-11 06:52:01 +0200 |
commit | f67481094fa7f16dec281f9a96dd0de3dc0c453f (patch) | |
tree | 907dc97faf61ea9aacb5c736d05574a612a7936b /src/corelib/tools/qshareddata.cpp | |
parent | f60b9df73d53774f0e83215f41b9cf91cbe09197 (diff) |
QObject: use delegate constructors
Avoid the massive code duplication in the two QObject constructors. The
only slight difference is the code path checking for isWidget; I'd say
that paying for that one is worth the price of de-duplicating.
Change-Id: I3af749738fe7d6b7adf287009d1815396a2f1407
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qshareddata.cpp')
0 files changed, 0 insertions, 0 deletions