summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-07-13 10:59:48 +0200
committerLars Knoll <lars.knoll@qt.io>2020-08-24 00:17:19 +0200
commit1d7a9fc9b4f64a5dd643e0ebfb5057b4b30236b8 (patch)
treea416e17b6fd8b18682bc3e265504b03d872c38b2 /src/gui
parentf44d2ea1cc14587ab8f0ba3a36f10ab3bee34504 (diff)
Add a metatype helper class for Qt Core
This helps get better symmetry with the other modules, and to unify the code paths for both conversion and retrieving the interface for static types. Change-Id: Icbd20de2563f36e3de20d826323acd057734abfb Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qguivariant.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/kernel/qguivariant.cpp b/src/gui/kernel/qguivariant.cpp
index ae6def7176..ebb180dc8e 100644
--- a/src/gui/kernel/qguivariant.cpp
+++ b/src/gui/kernel/qguivariant.cpp
@@ -178,8 +178,6 @@ static const struct : QMetaTypeModuleHelper
} // namespace used to hide QVariant handler
-extern Q_CORE_EXPORT const QMetaTypeModuleHelper *qMetaTypeGuiHelper;
-
void qRegisterGuiVariant()
{
qMetaTypeGuiHelper = &qVariantGuiHelper;