qt5base-lts/tests/auto
David Faure 6c973dee2c Make QCoreApplication::applicationName available after app destruction.
Calling applicationName() in the destructor of a global static (e.g.
via QLockFile) was working when calling setApplicationName explicitly
but otherwise it would suddenly return an empty string.
This led to inconsistencies, the application name switching from
non-empty to empty at saving-on-destruction time.

There was already a global static, used when setting the app name
explicitly before construction. Use it now to store the app name
in all cases (explicitly set, or fallback).

Change-Id: I71d3a0c40158f8bfd022c385b198346a2594b1cb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-03-05 10:29:27 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake Update text to the new license header 2015-02-12 18:29:40 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Update copyright headers 2015-02-11 06:49:51 +00:00
corelib Make QCoreApplication::applicationName available after app destruction. 2015-03-05 10:29:27 +00:00
dbus QDBusConnection::registorObject with interface 2015-02-15 02:17:53 +00:00
gui Optimize fallback RGB888 to RGB32 conversion 2015-03-03 13:38:17 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Fix bind+connect in both TCP and UDP 2015-03-04 23:58:03 +00:00
opengl Update copyright headers 2015-02-11 06:49:51 +00:00
other Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
printsupport Update copyright headers 2015-02-11 06:49:51 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql PostgreSQL: Fix special floating point handling for 'float' types. 2015-02-18 11:01:15 +00:00
testlib Make the printing of complex byte arrays prettier 2015-02-15 06:35:43 +00:00
tools add autotest for qmake parser 2015-02-25 13:55:12 +00:00
widgets autotests: fix the build in case of QT_NO_WHEELEVENT 2015-03-03 13:30:39 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
auto.pro Temporarily disable the QtDBus tests if the session bus isn't available 2014-12-23 12:22:56 +01:00
network-settings.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00