diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2021-12-01 16:20:29 -0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-12-12 14:25:42 -0800 |
| commit | 81a31beeb25eaf14d5c5f42fe26aa49d6ef29bf8 (patch) | |
| tree | c972a21eea5306b42503dba9e107cc5e6cda0d55 /examples/widgets/tutorials/tutorials.pro | |
| parent | fbbcd109f518adaedc5b3a009b204ac78a284a9a (diff) | |
Rewrite Q_{GLOBAL,APPLICATION}_STATIC with C++17 goodies
Especially static inline variables. This greatly reduces the amount of
code that existed in macros, moving them to templates.
Additionally, this removes one level of indirection from
Q_APPLICATION_STATIC by removing the std::unique_ptr. We now directly
manage the object's storage.
Change-Id: I2cffe62afda945079b63fffd16bcc825cc04334e
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'examples/widgets/tutorials/tutorials.pro')
0 files changed, 0 insertions, 0 deletions
