summaryrefslogtreecommitdiffstats
path: root/examples/sql/masterdetail/dialog.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2022-07-20 09:25:21 -0700
committerThiago Macieira <[email protected]>2025-06-22 10:43:20 -0700
commit131da3b171a52fc2ab4d038dae0f783a46d307ea (patch)
tree42065872532b57fc53d243d27f7458b69136dbb1 /examples/sql/masterdetail/dialog.cpp
parent17f7938657e2ef919e8d89d28a5bfa610218eb3b (diff)
QMetaType: use nothrow operator newHEADdev
We handle the memory allocation ourselves. Using std::nothrow_t{} instead of std::nothrow to avoid referring to an empty, global variable unnecessarily just to call this function. [ChangeLog][QtCore][QMetaType] create() will return a null pointer and not throw if a memory allocation failure happens. It may still throw if the constructor of the meta type in question throws. Change-Id: I3859764fed084846bcb0fffd170396477b2b4989 Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'examples/sql/masterdetail/dialog.cpp')
0 files changed, 0 insertions, 0 deletions