diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-07 09:30:16 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-11 11:05:15 +0200 |
commit | 90210c8d28a90295ebbf37ef45b69924ed7f42d0 (patch) | |
tree | a67feb9140d069197bbcaf53fe28d71e4be255cd /src/widgets/dialogs/qwizard_win.cpp | |
parent | 219e7bafa278792f7bde110d24333fb60b555c12 (diff) | |
download | qtbase-90210c8d28a90295ebbf37ef45b69924ed7f42d0.tar.gz |
Remove dead code from src/widgets
Code that's removed via QT_VERSION(6, 0, 0) check is already no
longer compiled.
Change-Id: I70865f330a6260ac2e9cf2770d599a5b6f7bb7d4
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/widgets/dialogs/qwizard_win.cpp')
-rw-r--r-- | src/widgets/dialogs/qwizard_win.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/widgets/dialogs/qwizard_win.cpp b/src/widgets/dialogs/qwizard_win.cpp index 47ac41a791..e87d117a3c 100644 --- a/src/widgets/dialogs/qwizard_win.cpp +++ b/src/widgets/dialogs/qwizard_win.cpp @@ -339,11 +339,7 @@ void QVistaHelper::setTitleBarIconAndCaptionVisible(bool visible) SetWindowThemeAttribute(handle, WTA_NONCLIENT, &opt, sizeof(WTA_OPTIONS)); } -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) bool QVistaHelper::winEvent(MSG* msg, qintptr *result) -#else -bool QVistaHelper::winEvent(MSG* msg, long* result) -#endif { switch (msg->message) { case WM_NCHITTEST: { @@ -405,11 +401,7 @@ void QVistaHelper::mouseEvent(QEvent *event) } } -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) bool QVistaHelper::handleWinEvent(MSG *message, qintptr *result) -#else -bool QVistaHelper::handleWinEvent(MSG *message, long *result) -#endif { if (message->message == WM_THEMECHANGED || message->message == WM_DWMCOMPOSITIONCHANGED) cachedVistaState = Dirty; @@ -517,11 +509,7 @@ bool QVistaHelper::eventFilter(QObject *obj, QEvent *event) if (event->type() == QEvent::MouseMove) { QMouseEvent *mouseEvent = static_cast<QMouseEvent*>(event); -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) qintptr result; -#else - long result; -#endif MSG msg; msg.message = WM_NCHITTEST; msg.wParam = 0; @@ -535,11 +523,7 @@ bool QVistaHelper::eventFilter(QObject *obj, QEvent *event) QMouseEvent *mouseEvent = static_cast<QMouseEvent*>(event); if (mouseEvent->button() == Qt::LeftButton) { -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) qintptr result; -#else - long result; -#endif MSG msg; msg.message = WM_NCHITTEST; msg.wParam = 0; @@ -554,11 +538,7 @@ bool QVistaHelper::eventFilter(QObject *obj, QEvent *event) QMouseEvent *mouseEvent = static_cast<QMouseEvent*>(event); if (mouseEvent->button() == Qt::LeftButton) { -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) qintptr result; -#else - long result; -#endif MSG msg; msg.message = WM_NCHITTEST; msg.wParam = 0; |