qt6-bb10/tests/auto/widgets/kernel/qapplication
David Faure 199741d026 Fix applicationName() being empty in QApplication.
A virtual method was reimplemented to return an always-empty string,
probably a leftover from a refactoring.

This fix showed that tst_qwidget_window was buggy: between Qt4 and Qt5,
a "Before" became "After", which made "Before" unused, and was masking
the fact that the app name was empty by default. In addition, the
earlier Qt5 change that made the app name default to argv[0] now requires
updating this test, now that it's actually working.

Change-Id: I5360026821a9b95bedd0ff09dba3d51a22e542b7
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
2012-07-16 16:30:55 +02:00
..
desktopsettingsaware Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
modal Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
test Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
tmp Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
wincmdline Fixed several unit tests to work in shadow builds 2012-06-29 04:57:04 +02:00
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
heart.svg Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qapplication.pro Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
tst_qapplication.cpp Fix applicationName() being empty in QApplication. 2012-07-16 16:30:55 +02:00