diff options
Diffstat (limited to 'src/input/frontend/qkeyevent.cpp')
-rw-r--r-- | src/input/frontend/qkeyevent.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/input/frontend/qkeyevent.cpp b/src/input/frontend/qkeyevent.cpp index 2a2d066fe..de688c0a4 100644 --- a/src/input/frontend/qkeyevent.cpp +++ b/src/input/frontend/qkeyevent.cpp @@ -45,11 +45,7 @@ QKeyEvent::QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers QKeyEvent::QKeyEvent(const QT_PREPEND_NAMESPACE(QKeyEvent) &ke) : QObject() -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) , m_event(static_cast<QT_PREPEND_NAMESPACE(QKeyEvent) *>(ke.clone())) -#else - , m_event(new QT_PREPEND_NAMESPACE(QKeyEvent)(ke)) -#endif { m_event->setAccepted(false); } |