summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@kdab.com>2019-11-12 01:47:27 +0900
committerTasuku Suzuki <tasuku.suzuki@kdab.com>2019-11-12 16:39:35 +0900
commita5f474b9bb42d7408284d99d96eb9dc510632293 (patch)
treeb793b4248793e3a9a2dd142a656f51852acc57cf
parentRename some more manual test to be unique (diff)
downloadqtbase-a5f474b9bb42d7408284d99d96eb9dc510632293.tar.xz
qtbase-a5f474b9bb42d7408284d99d96eb9dc510632293.zip
Fix build without features.shortcut
Change-Id: I09a1e2e34df6ca1d779a7e36585f70a0d347cde5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--src/corelib/kernel/qmetatype_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/kernel/qmetatype_p.h b/src/corelib/kernel/qmetatype_p.h
index d743d5a5c7..f2057e25b4 100644
--- a/src/corelib/kernel/qmetatype_p.h
+++ b/src/corelib/kernel/qmetatype_p.h
@@ -232,9 +232,6 @@ template<> struct TypeDefinition<QRegExp> { static const bool IsAvailable = fals
#if !QT_CONFIG(regularexpression)
template<> struct TypeDefinition<QRegularExpression> { static const bool IsAvailable = false; };
#endif
-#ifdef QT_NO_SHORTCUT
-template<> struct TypeDefinition<QKeySequence> { static const bool IsAvailable = false; };
-#endif
#ifdef QT_NO_CURSOR
template<> struct TypeDefinition<QCursor> { static const bool IsAvailable = false; };
#endif