diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-27 10:28:21 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-27 11:33:35 (GMT) |
commit | a5c4c8453ac68f847b1bc3b4e01f710b757e7e1b (patch) | |
tree | ef689c4d9619665b224c374d5d18816ba4484034 /src/script/script.pro | |
parent | 2c18dd72d51efffa64ed54f058c64f6e4fc5c597 (diff) | |
download | Qt-a5c4c8453ac68f847b1bc3b4e01f710b757e7e1b.zip Qt-a5c4c8453ac68f847b1bc3b4e01f710b757e7e1b.tar.gz Qt-a5c4c8453ac68f847b1bc3b4e01f710b757e7e1b.tar.bz2 |
fix whacky behavior of QScriptValue::toString() for QVariant
For some types, an empty string is the correct and complete
conversion of the type. If the result is an empty string, use
QVariant::canConvert() to determine if that is indeed correct,
before falling back to the "string-conversion-not-available"
path.
Diffstat (limited to 'src/script/script.pro')
0 files changed, 0 insertions, 0 deletions