diff options
author | Vincas Dargis <vindrg@gmail.com> | 2019-03-22 10:40:12 +0200 |
---|---|---|
committer | Vincas Dargis <vindrg@gmail.com> | 2019-03-26 06:12:10 +0000 |
commit | b58c723404594d04f0b31b425da77b4fcbeec3b9 (patch) | |
tree | 4ecb6b73494254a075f13eb178e7f9404639235a /src/corelib/global/qfloat16.cpp | |
parent | a57ac1b20e34decced0355935fe352eb55f51e5c (diff) |
QSqlError: fix redundant space in text() output
QSqlError::text() returns single space if QSqlError is not valid. In
addition, it adds space in case one of driverText or databaseText
is empty.
Change condition upon which space is added between databaseText and
driverText, and update unit test to cover these cases.
Fixes: QTBUG-74575
Change-Id: I52cce9b0287a523d7ff9059cff38bcd8b26eb303
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/corelib/global/qfloat16.cpp')
0 files changed, 0 insertions, 0 deletions