Commit Graph

67190 Commits (bc5cd4dba8dceed808a573c6201acd9d210dc315)

Author SHA1 Message Date
Thiago Macieira bc5cd4dba8 QResource: simplify map() to rely on the uncompressed data being there
We can only call map() if we've already called open() and that will
decompress the data.

Pick-to: 6.5 6.6 6.7
Change-Id: I6979d02a7395405cbf23fffd17c8f1f77ca92b2b
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-05-02 17:12:14 -07:00
Thiago Macieira 66c0f46d02 qtconfigmacros.h: add missing include: we use QT_VERSION_CHECK
Amends 3a6c8e02b6, which introduced this
check.

Fixes: QTBUG-124869
Change-Id: I262c3499666e4f4fbcfbfffd17cacbb6025150da
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-05-02 17:11:21 -07:00
Samuli Piippo 902ad05be7 qdbusxml2cpp: don't track command line
Generate source code without information about original location of the
source file. Useful for reproducible builds.

Task-number: QTBUG-105926
Task-number: QTBUG-105913
Change-Id: I33b24e11773c8ad3489cc84df3c42b43a6116378
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-05-02 23:05:07 +00:00
Marc Mutz 834e7d60a9 QRestReply: allow comments where white-space is allowed
This is RFC2822 grammar (except that line folding is not
allowed).

RFC9110 doesn't allow it anymore, but it might make sense to accept it
nonetheless (Postel's Law).

Pick-to: 6.7
Task-number: QTBUG-123544
Change-Id: Ie990cd332c7603dbdae29c19b2804bd33a058ca0
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2024-05-03 01:05:07 +02:00
Marc Mutz e53df7a021 QtPrivate::Continuation: add missing Q_DISABLE_COPY(_MOVE)
This polymorphic class is not designed for copying or moving, so
statically assert that it isn't moved or copied.

Amends dfaca09e85.

Pick-to: 6.7
Task-number: QTBUG-124909
Change-Id: I6a4fe460adf9bf903578601e500ccc697a3f7c96
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-03 01:05:07 +02:00
Lena Biliaieva 78b0d507ce Add QHttpHeaders methods to QNetworkCacheMetaData
[ChangeLog][QtNetwork][QNetworkCacheMetaData] Added headers() and
setHeaders() methods to QNetworkCacheMetaData to provide an interface
to work with QHttpHeaders.

Task-number: QTBUG-107751
Change-Id: I1dfed5c2e03f4912de0da96156425cd6b713c1d5
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2024-05-02 22:11:44 +02:00
Axel Spoerl f97e60a4f0 Fix crash in QMainWindow:.tabifiedDockWidgets()
QMainWindow:.tabifiedDockWidgets() was refactored in Qt 6.6.3, because
it returned wrong values. It now loops from 0 to
QMainWindowTabBar::count() and uses QMainWindowTabBar::dockAt(), to
get the dock widget pointer for an index.

When a dock widget is removed from a floating tab, event processing is
necessary for the item_list and QMainWindowTabBar::count() to get in
sync. This case was overlooked in the refactoring. It can lead to
dockAt() being called with an out-of-bounds index, which it asserted.
The assertion triggered, when QMainWindow::removeDockWidget() and
QMainWindow::tabifiedDockWidgets() were called right after each other,
without processing events inbetween.

QMainWindowTabBar::dockWidgets() doesn't add nullptr to the list, it
returns.

Therefore, return nullptr, when dockAt() is called out-of-bounds.
Add test functionality in
tst_QDockWidget::updateTabBarOnVisibilityChanged().

Fixes: QTBUG-124262
Pick-to: 6.7 6.5
Change-Id: If66084b9f00b4e39f7a620da68df67c735029cf1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-05-02 20:11:44 +00:00
Christian Ehrlicher 922ec9093d QSql/IBase: fix compilation
Looks like the CI does not compile the IBase/Firebird plugin so this
compile error slipped through.

Change-Id: I2e20088e10baa91f2e1e5e2b5656dfb7bdf42896
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
2024-05-02 23:11:44 +03:00
Thiago Macieira b2c236792c QThread: relax memory semantics from seq_cst on interruptionRequested
Amends a0faf9e236.

Pick-to: 6.7
Change-Id: I262c3499666e4f4fbcfbfffd17cb1e141ad104d8
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-05-02 20:11:44 +00:00
Assam Boudjelthia 5344f784ed Android: skip tst_android::orientationChange() for Android 9
Android 9 emulator seems quite buggy with sending the orientation
changes callbacks.

Task-number: QTBUG-124890
Change-Id: Ifb52d2eea4221d1759a04ca1d7e74e60620a3804
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
2024-05-02 21:40:11 +03:00
Mårten Nordheim 8a261fa9e0 QNAM: Prepare protocol handlers for local socket
+ a small stretch into adjacent functions, because some are used from
the protocol handler(s).

Task-number: QTBUG-102855
Change-Id: Ie394378fef2b1723e69286fd870fc34b7306734a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-02 19:29:43 +02:00
Marc Mutz 45bf8ee574 compare helpers: use is_OP etc instead of OP 0
Older GCCs are otherwise going crazy with -Wzero-as-nullptr-constant.

The is_OP() functions are specifically protected against this warning.

Amends fe12650e9d.

Pick-to: 6.7
Change-Id: I4895e42be382c8549c1902db6f237d29f78bbe7e
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-05-02 19:29:42 +02:00
Volker Hilsheimer aae9638951 Windows: refactor theme's handling of color scheme
Make the functions populating the palette static class members so
that they can access private helpers.
Encapsulate logic that overrides the system or (later) explicitly set
color scheme into a helper that always respects the presence of a
high-contrast theme.

Task-number: QTBUG-124490
Change-Id: I7ad09596bb308b17b4c6ec34bb02cb6cf4b8c1bb
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
2024-05-02 19:03:42 +02:00
Volker Hilsheimer 25c02ae5bf Windows: store the color scheme instead of a boolean for dark
Since the color scheme is a tri-state (it might be Unknown when
a high-contrast theme is active), don't store a "darkMode" value,
but the color scheme.

Make the query-functions private to the theme, the external API
should always return the stored value, which gets updated when
a theme change is processed.

Task-number: QTBUG-124490
Change-Id: I41e6336773a3bb426b406dce370ef81c20e513ee
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
2024-05-02 19:03:42 +02:00
Volker Hilsheimer b5215f65c0 Update QStyleHints::colorScheme before updating palettes
The code polshing palettes needs to be able to rely on an updated
value of the color scheme as reported by the QStyleHints, otherwise
styles might apply the incorrect polishing logic.

Update the style hints as part of processing theme change handling,
and do it as the first thing, before updating the palette.

Pick-to: 6.7
Task-number: QTBUG-124490
Change-Id: I393faa57ecfa6da94497ae93a4e8b5d2782ec42a
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-05-02 19:03:42 +02:00
Volker Hilsheimer 8bc80f2e1a Remove QGuiApplicationPrivate::colorScheme()
Use the platform theme or QStyleHints instead.

Task-number: QTBUG-124490
Change-Id: Iab12faa726d3031d6a250664468dac333c2c2e0c
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-05-02 19:03:42 +02:00
Ivan Solovev e176dd78fd QDataStream::readBytes: do not leak the memory in case of bad_alloc
The algorithm was leaking the previous buffer if the attempt to
allocate a new one failed with std::bad_alloc.

Wrap the buffer allocations into std::unique_ptr, so that we do
not leak the buffer in case of bad_alloc.

This patch is not changing the behavior of QDataStream, so it's
NOT handling the bad_alloc exception, and also does not change
the state of the buffer in case the exception occurs.

Pick-to: 6.7 6.5
Change-Id: I5558a6d03768094e4ee83ca47cacf4e09c36f1cf
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-05-02 19:03:42 +02:00
Marc Mutz b02798095d QtCore/removed_api: fix 6.8 block order, global include
There must be no include other than qglobal.h¹ outside
QT_CORE_REMOVED_SINCE blocks, otherwise REMOVED_SINCE in that header
might not work correctly.

Move the include to the block in which it's used.

¹ and we should eventually reduce that to the bare minimum, too.  This
  include is still from the time when there was only the monolithic
  qglobal.h.

Amends bfc7535a10.

Also move the qstring.h block which was not in alphabetical order.

Amends 42b6fdfb52.

Change-Id: I997ebf0028e31ef86145d2d0c7455e7c54bbf7e9
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-05-02 19:03:42 +02:00
Frédéric Lefebvre 0c52e694e2 tst_QToolBar::accel() remove QApplicationPrivate::setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ic729e2675a6a51531b4ee055d2d0b84866331b28
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-05-02 18:14:56 +02:00
Frédéric Lefebvre 8a4728c1b9 setFocus_complexTwoWidgets() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I362ddbc98f864b5bae37d6e98dc5d9a3144848b5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-05-02 12:47:09 +02:00
Laszlo Agocs f8786a8673 rhi: gl: Clean up UNPACK_ROW_LENGTH handling
Be consistent and do not attempt to set GL_UNPACK_ROW_LENGTH on GLES
2.0. Have an appropriate flag in caps.

Task-number: QTBUG-120565
Change-Id: I7b4db49480c2225b11807681d9bc77d2f2615e30
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2024-05-02 12:46:21 +02:00
Laszlo Agocs 124e7d896b rhi: metal: Handle multiview with depth attachment only
Copy the approach added for Vulkan. (no color attachments,
but depth texture array is present -> assume this means
multiview rendering and use the array size as view
count)

Change-Id: Ie523b54e8eec6fdd4fe5f203d1ea97b366f8ac00
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2024-05-02 12:46:18 +02:00
Laszlo Agocs c09270753d rhi: vulkan: Fix multiview with depth attachment only
Also change a confusing argument naming (begin-end vs. first-last).

Relevant in particular for the depth texture generation pass of
Qt Quick 3D (XR) with multiview rendering enabled.

Change-Id: I18746581cddfa96127de2d07853164b1c88b070b
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2024-05-02 12:46:12 +02:00
Laszlo Agocs aa12713c1f rhi: vulkan: Reduce staging copy size for full-width texture uploads
Pick-to: 6.7 6.6 6.5
Task-number: QTBUG-120565
Change-Id: I057f40ee410df35af87f27a0357252bc26234f04
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2024-05-02 12:45:59 +02:00
Mårten Nordheim db7b00c4b7 moc: Update comment above properties
It was not matching up with the data there anymore,
the notifyID and 'p.revision' was not mentioned

Change-Id: I09f63e5137944e9ab96e0a70abb798895d4b7739
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2024-05-02 12:31:08 +02:00
Tatiana Borisova 71bbc35a37 QLocale: use new comparison helper macros
Replace public friend operators operator==(), operator!=() of
QLocale to friend method comparesEqual() and
Q_DECLARE_EQUALITY_COMPARABLE macro.

Task-number: QTBUG-120304
Change-Id: I759ef08269abe3b40e0dce3fd408a86cc3f34857
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-05-01 22:59:59 +02:00
Tor Arne Vestbø 88447a0c53 Replace incorrect Metal config check in nativewindow.h
Change-Id: I6d3718d45e55864169cd41694b0cdf16e9bf8f44
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2024-05-01 14:24:06 +02:00
Giuseppe D'Angelo a7bb69fb87 QVLA::erase: use trivial relocation
Apply the same algorithm that QVector uses for erasing elements:
destroy the erased range, then memmove the tail over.

Change-Id: I6f2edde5b208910b665f85167cf9359379137a85
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-01 11:13:03 +02:00
Marc Mutz f24a03a22a QNetworkInformation: remove redundant friend declaration
Q_DECLARE_PRIVATE already marks the Private as a friend of the Public
class. No need to do it manually.

Fixes GCC's -Wredundant-decls.

Amends 0875626e22.

Pick-to: 6.7 6.5
Task-number: QTBUG-115583
Change-Id: I26f8a42e375c1377c03fe60ccccadc5d0c3b02c5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-05-01 02:35:52 +02:00
Marc Mutz 1941c11b6a qfuture_impl.h: remove redundant declaration
QtPrivate::watchContinuationImpl() is already declared in
qfutureinterface.h, which qfuture_impl.h already includes.

Fixes GCC -Wredundant-decls.

Amends 59e21a536f.

Pick-to: 6.7
Task-number: QTBUG-115583
Change-Id: I9c77209d2d10492f4d81aacc1f1da3201b5d1810
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Arno Rehn <a.rehn@menlosystems.com>
2024-05-01 02:35:52 +02:00
Volker Hilsheimer c4086d7b7a QPageSize: remove redundant operator== declaration
Amends a45a3b1ece, which added the hidden
friend as an inline function, without removing the already existing
declaration. Since that declaration was exported, keep it in the ABI
via Q_REMOVED_API, and only remove it from the API.

Fixes: QTBUG-115583
Pick-to: 6.7
Change-Id: I169b565ed02168248f96c1379f537b90b4ea481c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-05-01 02:35:52 +02:00
Giuseppe D'Angelo d366d468ff QVLA: fix assert message in erase()
Likely a c&p error from insert().

Change-Id: I9fd4ce19d3350a5c7e66e8eb2b0e8b80997c2a56
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-01 02:10:38 +02:00
Mårten Nordheim 9fc4f26c86 Http connection channel: modernize connect
Makes it easier to see what connects are wrong once the
socket type is IODevice and not AbstractSocket.

Task-number: QTBUG-102855
Change-Id: I56c3db56361b0441e0b5db84b2f95339f8b03254
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mate Barany <mate.barany@qt.io>
2024-04-30 23:33:37 +02:00
Fabian Kosmale aa161b1e4e qtconf: Add comment to clarify code handling env vars
The string handling is not immediately clear, unless one already knows
what it is supposed to do.

Change-Id: Icd5746513d760d478f03c8aded3669b06b692a87
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-04-30 23:33:37 +02:00
Carl Schwan 09ea47f811 Improve default style of QTextTable
Collapse the border and add some padding for the table cells.

[ChangeLog][QtGui][Text] QTextTableFormat now defaults to
collapsed tables with no spacing between cells.

Change-Id: Ibebc92820447bd5fd9c0b905261dc4426b74358c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2024-04-30 22:57:26 +02:00
Frédéric Lefebvre 9df78efbd1 taskQTBUG11823_crashwithInvisibleActions() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I1ac84b3166bb17e120b0c38b7d164f2e4e412e6d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 3b5f31a80c tst_QMenuBar::task256322_highlight() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I2cb6b63e1ecdfd1e10d04baf5970236d31781d3e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre f515b53493 tst_QMenuBar::check_menuPosition() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I2e8e1e8b2809937e3f7c1e5362afb037d953c950
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 9ec05ffb13 tst_QMenuBar::check_shortcutPress() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number:  QTBUG-121488
Change-Id: I569d6316f3fa7b7131ce3c8448784f0588008a2c
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 48083186a1 tst_QMenuBar::check_altClosePress() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I7c949c9d279aea52ee774db65d9cf0033ac60fef
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 9d9d7ad5b8 tst_QMenuBar::check_altPress() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I43e3a097e59f9c14ec2f599b12b707a2fcf98b36
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 4da4273743 tst_QMenuBar::check_escKey remove QApplicationPrivate::setActiveWindow
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ib9f5844c79f37f0992076060548c30d80d20e323
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 7c5f7efeb7 tst_QMenuBar::taskQTBUG56860_focus() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I96178f118ab5d60d23047a01c884a9cddcf213d5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:57 +02:00
Frédéric Lefebvre 481a8f4802 tst_QMenuBar::check_cursorKeys3() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number:  QTBUG-121488
Change-Id: Id7db0930ebac72bf2ddebffa9f991949ba515974
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:56 +02:00
Frédéric Lefebvre b200a40b35 tst_QMenuBar::check_cursorKeys2() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I570eefc39dcd5bcf8cc3673d1898f01c4dc5725f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:56 +02:00
Frédéric Lefebvre 8428ca01a3 QTBUG14363_completerWithAnyKeyPressedEditTriggers remove setActiveWindo
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I2f67811f95f580b67f247df55020266ec28c13a7
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:22 +02:00
Frédéric Lefebvre a628a5805f tst_QTableView::keyboardNavigation() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ia26ea1623a00f17765d5530882dd83480e3bb9b8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:21 +02:00
Frédéric Lefebvre 611a89498f tst_QMdieArea::subWindowList() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I846682ed9b04b72867ffa85b0e4fc000b29c38ac
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:21 +02:00
Frédéric Lefebvre d012310622 tst_QGraphicsProxyWidget::clickFocus() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Icf9c4b1378eb244edb56f900ba74469abc38314f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:21 +02:00
Frédéric Lefebvre 9aaf451a1e QTBUG_6986_sendMouseEventToAlienWidget() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If5ddc863411907793be3a8d7b226ee49b606e9e8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:21 +02:00