aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/debug.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2023-11-15 10:51:51 +0000
committerIngo Klöcker <[email protected]>2023-11-15 10:57:18 +0000
commit278f92b189ece58dee2036450ac029e3599fdb1f (patch)
tree247edf5f04f2a0427546405f98fb25894aa9c7c9 /lang/qt/src/debug.cpp
parentdoc: Fix for e.g. and i.e. (diff)
downloadgpgme-278f92b189ece58dee2036450ac029e3599fdb1f.tar.gz
gpgme-278f92b189ece58dee2036450ac029e3599fdb1f.zip
qt: Remove left-over partial files more persistently
* lang/qt/src/Makefile.am: Add new files. * lang/qt/src/cleaner.cpp, lang/qt/src/cleaner.h: New. * lang/qt/src/util.cpp (PartialFileGuard::~PartialFileGuard): Call Cleaner::removeFile instead of removeFile. * lang/qt/src/util.cpp, lang/qt/src/util.h (removeFile): Remove. -- If the initial attempt to remove the file fails then a Cleaner is created that tries to remove the file at regular intervals (10 s) and on destruction (which happens on application shutdown). GnuPG-bug-id: 6584
Diffstat (limited to 'lang/qt/src/debug.cpp')
0 files changed, 0 insertions, 0 deletions