[Development] QTemporaryDir API

Robin Burchell robin+qt at viroteck.net
Thu Nov 17 17:14:06 CET 2011


On Thu, Nov 17, 2011 at 5:11 PM, David Faure <david.faure at kdab.com> wrote:
> The method already asserts if the path is empty or is ".", we could make that
> stricter to catch more bugs (error instead of debug-mode-only assert, and
> refuse more paths, including the home dir).

Why does it need to be static at all, as opposed to the API user being
able to explicitly remove the QTemporaryDir they've created
themselves? No room for bugs, or removing the wrong directory.



More information about the Development mailing list