diff options
author | Samuel Gaist <samuel.gaist@edeltech.ch> | 2017-03-07 21:52:58 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@edeltech.ch> | 2017-03-07 23:11:20 +0000 |
commit | 9e933de7f2f83946cc3926e4ea5ae0d8e4ce93bb (patch) | |
tree | fa819afd8b7034ef73477f2194d12e4827ca26d8 /src/widgets/widgets/qdialogbuttonbox.cpp | |
parent | 895b4e6f89d4a9c4cae8af6c129e85c6c0d29f6c (diff) |
Example: fix memory leak in relationnaltablemodel example
The example creates a view on the heap but doesn't delete it on
application end. This patch uses a QScopedPointer to fix that.
Change-Id: I3b0c8589999d243c193bd02e1470c03eabfabe40
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'src/widgets/widgets/qdialogbuttonbox.cpp')
0 files changed, 0 insertions, 0 deletions