This code would assert in a debug build and potentially crash in a release build. (The behaviour of QStringList::at() with an out-of-bounds index is undefined.) This commit makes the program exit with a useful error message in all builds. Change-Id: Ia57a2e5693eb25d3eb0b9ba701ed485dfbc1e846 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern (cherry picked from commit 5a530f6171a9569d1a35cd8cd1015ec796b048cc) |
||
|---|---|---|
| .. | ||
| test | ||
| testSend | ||
| .gitignore | ||
| qcopchannel.pro | ||
| tst_qcopchannel.cpp | ||