Go to file
Jeremy Lainé afb0260f50 Fix QTest::qExec crash with no command line arguments
The documentation for QTest::qExec states that command line arguments
are optional and gives the following example:

 MyTestObject test1;
 QTest::qExec(&test1);

However, running this example leads to crash as argv[0] is accessed
without testing argc. This change fixes this bug.

Change-Id: I2ec016e02869d21b24bc11f1851a760036640191
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jason McDonald <macadder1@gmail.com>
2012-09-08 01:44:26 +02:00
bin de-duplicate code 2012-08-28 20:47:11 +02:00
config.tests mips: Autodetect MIPS DSP rev1 and rev2 instructionset 2012-09-01 15:28:24 +02:00
dist Mention logging related changes in changes-5.0.0 file 2012-09-08 01:43:57 +02:00
doc Moved gui example documentation to the proper location. 2012-09-01 11:21:46 +02:00
examples Make gui/math3d classes use float rather than qreal 2012-09-07 13:27:38 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs de-duplicate MODULE_DEPENDS 2012-09-07 23:35:26 +02:00
qmake fix c string comparison 2012-09-07 23:35:30 +02:00
src Fix QTest::qExec crash with no command line arguments 2012-09-08 01:44:26 +02:00
tests Use QStringList::join(QChar) overload where applicable [QtNetwork] 2012-09-07 18:41:22 +02:00
tools configure: Unify order of options in help 2012-09-07 11:22:16 +02:00
util Make plugintest util work on Windows. 2012-08-30 13:51:22 +02:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Updated .gitignore 2012-08-18 13:59:11 +02:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure Enable autodetecting of EGL event for desktop GL 2012-09-07 18:41:22 +02:00
configure.bat bypass configure bootstrap for non-git builds 2012-09-05 03:03:14 +02:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Install right version of tools when x-compiling. 2012-07-17 12:52:48 +02:00
sync.profile Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00