Fix mismatched enum warnings in QMetaObjectPublisher::unwrapVariant
This method is switching on the enum QVariant::Type using values from
the enum QMetaType::Type and the compiler thinks this is not very
nice. The warning is not serious since QVariant::Type is defined in
terms of QMetaType::Type.
Change-Id: Iaff7fe1ea702c6dfc77a008283a6f07cedb2729f
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
| commit | df1e1400b8b46909ac1cfd3f9245d1d5ed43fbb7 |
| parent | a8c2450ac431f5da69c69c83e3cf0e5d399a6c99 |
| author | Jüri Valdmann <juri.valdmann@qt.io> |
| committer | Jüri Valdmann <juri.valdmann@qt.io> |
| commit time | Wed, 9 Sep 2020 13:05:51 +0200 |