qmetatype_p.h: remove unused function

Change-Id: Ib07e1c87e4e9fe5d1018876b044513fae951ac0e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
bb10
Fabian Kosmale 2022-02-05 10:49:55 +01:00
parent 348f67d7ec
commit 454a9424b7
1 changed files with 0 additions and 11 deletions

View File

@ -59,17 +59,6 @@ QT_BEGIN_NAMESPACE
namespace QModulesPrivate {
enum Names { Core, Gui, Widgets, Unknown, ModulesCount /* ModulesCount has to be at the end */ };
static inline int moduleForType(const uint typeId)
{
if (typeId <= QMetaType::LastCoreType)
return Core;
if (typeId >= QMetaType::FirstGuiType && typeId <= QMetaType::LastGuiType)
return Gui;
if (typeId >= QMetaType::FirstWidgetsType && typeId <= QMetaType::LastWidgetsType)
return Widgets;
return Unknown;
}
template <typename T>
class QTypeModuleInfo
{