summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2024-07-21 17:25:43 -0700
committerDentomologist <dentomologist@gmail.com>2024-07-21 17:36:05 -0700
commit384e0444379050b8672aef5b2b3453907fc4b542 (patch)
tree983c29661f240315fdef3b367d509da51d9d2c0c /Source/Core/Common/StringUtil.cpp
parent7bd2a7bde301c9dc255ae45e60fcfcd8ba10aecc (diff)
QtUtils/ClearLayoutRecursively: Fix potential crash
Use QObject->deleteLater() instead of the delete operator to destroy child widgets of the layout. This prevents crashes caused by pending events trying to access the now-destroyed widget.
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
0 files changed, 0 insertions, 0 deletions