diff options
author | David Faure <david.faure@kdab.com> | 2015-02-22 20:02:29 +0100 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2015-03-16 08:38:32 +0000 |
commit | 88851fb3b0439e3eac197538bf76f4050a7ac018 (patch) | |
tree | 6d8e0ae09329c48b78b4f2b8221961c3e615dda2 /examples/gui | |
parent | 0d5ffd67a4748bcbf19dc3a4b9a36ae6314e58a6 (diff) |
QLockFile: use QCoreApplication::applicationName.
Unlike qAppName, it doesn't require a QCoreApplication instance,
making QLockFile usable in destructors of global statics.
This also uses the value passed to setApplicationName if called
rather than always argv[0].
Change-Id: I40446aba410db42d7cfe6b4408878faf435246f7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/gui')
0 files changed, 0 insertions, 0 deletions