]> cloud.milkyroute.net Git - dolphin.git/commitdiff
viewproperties: Fix leaking file descriptors
authorAkseli Lahtinen <akselmo@akselmo.dev>
Thu, 5 Jun 2025 08:49:22 +0000 (11:49 +0300)
committerAkseli Lahtinen <akselmo@akselmo.dev>
Mon, 9 Jun 2025 12:55:49 +0000 (15:55 +0300)
File descriptors would keep leaking here since tempFile never gets
deleted. This would be especially noticeable when browsing /tmp/ folder.

This patch makes the QTemporaryFile an unique_ptr, so it gets
deleted when it's out of scope. This also causes the files to be
handled accordingly.

BUG: 505215


No differences found