Fix QVariant::canConvert with longlong
authorOlivier Goffart <ogoffart@woboq.com>
Sun, 3 Nov 2013 12:59:36 +0000 (13:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 8 Nov 2013 15:45:26 +0000 (16:45 +0100)
commit2ee97f505b29a8539685885a239477d4417cc76a
treeeeca4a7a96617ba9519ec2468de327ae601e0621
parentdd262dc7f5c02ffaaa965815a9ccc8978efdbabf
Fix QVariant::canConvert with longlong

Add few cases where conversion to or from LongLong was missing

We need to make it work if we want to use variant.canConvert<qint64>

[ChangeLog][QtCore][QVariant] Fixed QVariant::canConvert with longlong

Change-Id: I0f65073802b62d99250601dd90a8cd2e4d934b60
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
src/corelib/kernel/qvariant.cpp
tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp