Commit Graph

6 Commits

Author SHA1 Message Date
Chocobo1
71270260bf Reformat code 2021-11-08 13:34:21 +08:00
Chocobo1
a5c531f0a4 Create lock file in config folder instead of temp folder
Some linux distros seem to alter TMPDIR environment variable and
therefore hamper qbt ability to find the lock files. So use config
folder instead of TMPDIR folder to create/locate the lock files.
Note that this change will also make qbt become one instance per-user
instead of one instance per-system.

Closes #15646.
2021-11-01 14:08:49 +08:00
brvphoenix
aebb9f89d1 Remove the lockfile on exit (#14997) 2021-05-23 14:29:41 +08:00
FranciscoPombal
6152b83405 Use #pragma once instead of include guards 2020-12-12 19:41:32 +00:00
Chocobo1
5c015d573b Forward declare types as much as possible 2019-07-31 02:10:22 +08:00
Vladimir Golovnev (Glassez)
c7f3693ad1 Implement "Application instances manager" 2019-06-30 20:02:46 +03:00