aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test13main.cpp
diff options
context:
space:
mode:
authorMatthew Dawson <matthew@mjdsystems.ca>2015-11-09 09:42:42 -0500
committerMatthew Dawson <matthew@mjdsystems.ca>2015-11-09 09:42:42 -0500
commit0f1e67051dae0c9b1f23461f7caed594795e8a27 (patch)
tree5cf8a52cf505ba7a4448edeb4861470335387bc3 /autotests/kconfig_compiler/test13main.cpp
parent809e7156b21c5cecea68fc474d210d1068372ef9 (diff)
downloadkconfig-0f1e67051dae0c9b1f23461f7caed594795e8a27.tar.gz
kconfig-0f1e67051dae0c9b1f23461f7caed594795e8a27.tar.bz2
In KConfigTest::testEntryMap, convert QByteArray with nulls using a char *
Due to https://codereview.qt-project.org/#/c/106473/, Qt 5.6 keeps null characters in QByteArray -> QString conversions, which breaks this test as one QByteArray contains nulls. Instead, convert the QByteArray to const char * first, so QString stops at the first null. The actual behaviour of KConfig is unchanged, as internally the conversion always went through a const char *, which avoids creating QStrings with null characters. REVIEW: 126001
Diffstat (limited to 'autotests/kconfig_compiler/test13main.cpp')
0 files changed, 0 insertions, 0 deletions