mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
use correct type for meta type in qNumVariantToHelper<T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
953512e5b2
commit
0dd157809c
1 changed files with 1 additions and 1 deletions
|
@ -2510,7 +2510,7 @@ template <typename T>
|
|||
inline T qNumVariantToHelper(const QVariant::Private &d,
|
||||
const QVariant::Handler *handler, bool *ok, const T& val)
|
||||
{
|
||||
uint t = qMetaTypeId<T>();
|
||||
int t = qMetaTypeId<T>();
|
||||
if (ok)
|
||||
*ok = true;
|
||||
if (d.type == t)
|
||||
|
|
Loading…
Add table
Reference in a new issue