diff options
Diffstat (limited to 'src/corelib/kernel/qvariant.cpp')
-rw-r--r-- | src/corelib/kernel/qvariant.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index c0aea0e98d..bb37072dc8 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -3714,9 +3714,9 @@ bool QVariant::convert(const int type, void *ptr) const exceptions: \list - \i If both types are numeric types (integers and floatins point numbers) + \li If both types are numeric types (integers and floatins point numbers) Qt will compare those types using standard C++ type promotion rules. - \i If one type is numeric and the other one a QString, Qt will try to + \li If one type is numeric and the other one a QString, Qt will try to convert the QString to a matching numeric type and if successful compare those. \endlist @@ -3735,9 +3735,9 @@ bool QVariant::convert(const int type, void *ptr) const exceptions: \list - \i If both types are numeric types (integers and floatins point numbers) + \li If both types are numeric types (integers and floatins point numbers) Qt will compare those types using standard C++ type promotion rules. - \i If one type is numeric and the other one a QString, Qt will try to + \li If one type is numeric and the other one a QString, Qt will try to convert the QString to a matching numeric type and if successful compare those. \endlist |