path: root/tools
diff options
authorJeremy Lainé <>2012-09-04 16:04:19 +0200
committerQt by Nokia <>2012-09-08 01:44:26 +0200
commitafb0260f50f41fa72f8447fdb84f8d907a725fe5 (patch)
tree2d377722655d0086b1c5946542e658b337c9944d /tools
parent194e0bd7e47a9e7a73597c218ffc3f04a50e8e48 (diff)
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 <> Reviewed-by: Jason McDonald <>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions