diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-01-11 20:18:23 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-01-16 19:16:42 +0000 |
commit | ccfd6872badaed768df14076dc46afcb2b3c861a (patch) | |
tree | f88e7a55ebee853650fdc7f22227e668e180b0fb /src/android | |
parent | a53500f5bf75a89e2a616781c806553568531e5a (diff) |
QSqlRelationalDelegate: compile with QT_NO_CAST_FROM_BYTEARRAY
QSqlRelationalDelegate::setEditorData() does not compile when
QT_NO_CAST_FROM_BYTEARRAY is defined. Since it's a public header this
will break user code.
Fix it by calling QByteArray::data() instead of relying on the
implicit cast.
Fixes: QTBUG-72764
Change-Id: I9c111dd25f48c9c9780d9f9a5b6b75eed0c8d6ed
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions