Commit Graph

67138 Commits (d0b0feb76b33044e2383a2016e8fc645eec9f142)

Author SHA1 Message Date
Frédéric Lefebvre d0b0feb76b tst_QDateTimeEdit::backspaceKey() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ic3425eecedffe0def3aa851157aedc4231dca1e9
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:28:20 +02:00
Petri Virkkunen 9efe78a2a1 Android: Notify listener about app state changes when quitting
Specifically the isStarted flag is set to false in QtNative.quitApp.
This should be listened to by functionality interface providers to
unregister their interfaces, in case the Activity is restarted.

Task-number: QTBUG-118874
Change-Id: Iadf5ab548c4e865c89ed4b83d258f09d6c767e16
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen e46adeb599 Android: Extend app state listener interface with native plugin state
Instead of using the generic onAppStateDetailsChanged function, use a
specific callback for native plugin readiness state in cases where only
native plugin readiness matters.

Add default empty implementations for both functions in the interface.

Task-number: QTBUG-118874
Change-Id: Ie736b0e7789400421247648cb3a008712fd959c5
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen ed3ce4ebfa Android: Enable required capabilities for embedding QML in services
Enabling OpenGL, ThreadedOpenGL and ForeignWindows capabilities for all
cases where we have a valid Android context.

Also enable createPlatformOpenGLContext and createPlatformWindow in the
same circumstance.

This allows service-embedded contexts to create and manipulate windows
and surfaces.

Task-number: QTBUG-118874
Change-Id: I34a3153865cc1263973b8ddf67a82d61b2266bca
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen ec3c96d72d Android: PlatformServices:Do not expect Intents in non-Activity usecase
In non-Activity contexts, do not register the QPlatformServices class
as an intent listener, as only Qt applications based on Qt Activities
will receive new Intents. Calling getIntent on a non-Activity context
will also cause an error, as getIntent is a method of Activity, not
Context.

Skip both when constructing QPlatformServices for applications without
an Activity context.

Task-number: QTBUG-118874
Change-Id: Ide64bd6a90d8db0a7654968ff42cdaa5da1d3b51
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen b43341f678 Android: Do not wait for service onBind() in service embedding path
When embedding QML into an Android service, Qt is not actually running
as a service. Avoid checking for QtAndroid::Service() and assuming that
means we are running as a service.

Task-number: QTBUG-118874
Change-Id: I5eea32b9fc200c4f34f1507d591aa1a483849118
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen aa1e658755 Android: Add delegate class for embedding QML into Android Services
QtServiceEmbeddedDelegate implements QtEmbeddedViewInterface to allow
QtView communication, listens to Qt plugin load state and loads
embedded views.

Task-number: QTBUG-118874
Change-Id: I673eefd8da425c96af436b2286899f699752d60a
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen f1fa33aeb3 Android: Add interface to handle interactions between delegate and QtView
Classes implementing QtEmbeddedViewConnector should support embedded
usecases for both Service and regular Activity embedding.

Any features that QtView requires from a delegate should be accessible
via this interface.

Task-number: QTBUG-118874
Change-Id: I238c6ef0451b1d08514c65f57e2875d31c5f4da9
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
2024-04-30 22:17:04 +03:00
Petri Virkkunen 9ef4435fbf Android: Delete parent window in QtView instead of just the child view
Since the parent window wraps the QtView, it should always be destroyed
when the QtView is, and live inside QtView rather than the delegate.

Destroying the parent window will always destroy the child window, so
do not destroy the child window separately.

Move createRootWindow and deleteWindow native functions to QtView.

Fixes: QTBUG-124908
Change-Id: Ib6b3c6388a9dd3f74d16fa09a442b0a6f8ccb336
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-30 22:17:03 +03:00
Petri Virkkunen 6d2db42f7c Android: Do not call exit when embedded Qt application is stopped
Q4A apps call exit() when leaving main(), unless the flag
QT_ANDROID_NO_EXIT_CALL is set. For embedded applications this is
incorrect behavior, because calling exit() will also make the host
application shut down.

Task-number: QTBUG-123711
Change-Id: I693f65d22568ab7d2a094a3c2336bf392cee214f
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-30 22:17:03 +03:00
Frédéric Lefebvre 5be227b924 tabFocus_complexTwoWidgets() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I5dacd3971305e33a6d1314b798d4211425b68d68
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 21:17:03 +02:00
Eike Ziller 24859d7dea QCompleter: Hide popup when widget is hidden
When the widget the completer is attached to was hidden,
the popup stayed open. It would "hang around" with no
corresponding UI being around anymore, which is weird.

Fixes: QTBUG-124861
Pick-to: 6.7
Change-Id: If9cb04e693c2663ef9da14164611f26becafc4b4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-30 16:30:16 +00:00
Frédéric Lefebvre ec449a8379 tst_QAction::disableShortcutsWithBlockedWidgets remove setActiveWindow
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iea02f308c3357ddcb8f52527031b9417d8a175d7
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 18:30:16 +02:00
Frédéric Lefebvre 800024a42a tst_QAction::repeat() remove QApplicationPrivate::setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I845a0a9220bca176f9c270cb7aee225325c2e7af
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 18:30:16 +02:00
Frédéric Lefebvre 77acde40c1 tst_QAction::actionEvent() remove QApplicationPrivat::setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I8e58e26382dfc32e0a3475dd601c0377e7378d87
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 18:30:16 +02:00
Frédéric Lefebvre 55fd2c9c70 textEditDoesntChangeFocusOnTab_qtbug3305() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I69256675a33df73ac98fc4025b6d1e915e91b386
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 18:30:15 +02:00
Frédéric Lefebvre 835598e20d taskQTBUG46812_doNotLeaveMenubarHighLighted() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iacaf59536ed01e34ed933976b53228a3bd2b22f1
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 18:30:15 +02:00
Edward Welbourne 5f8dc8ea5f Purge an almost-redundant duplicate datetime format conversion
The QLocale XML reader was passing datetime formats through a format
conversion despite the data being converted at the point where we read
it from CLDR. It turns out this was needed because the long date and
time formats in our hard-coded data for the C Locale object used CLDR
format strings, unlike all other Locale objects. Fix those two formats
in the C locale and remove the redundant processing step. This, in
turn, enables the parser to include the date and time formats in its
general handling of most fields that it reads.

This does not result in any change to the generated data QLocale uses
(although it does change the intermediate QLocale XML file).

Task-number: QTBUG-115158
Change-Id: Iaf9da206158043dda2e9e5a3790f009b100e46b4
Reviewed-by: Mate Barany <mate.barany@qt.io>
2024-04-30 18:30:15 +02:00
Edward Welbourne f43ef0802a Remove old copyright notice from QTZP_data_p.h
The SPDX header now makes this redundant.

Pick-to: 6.7 6.5
Task-number: QTBUG-121653
Change-Id: I46624407ab268920b31238b26ca9cdc825dea84a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
2024-04-30 17:46:34 +02:00
Wladimir Leuschner b733d31f27 QWindows11Style: Respect user set Stylesheets
QWindows11Style inherits from QWindowsVistaStyle for which StyleSheet
theming is deactivated. QWindows11Style draws most elements with
QPainter and should therefore be able to use overrides by StyleSheets.
This patch checks, whether QWindows11Style is used and enables the
theming by declaring it not to be a QPixmap based style. Further drawing
routines for QComboBox, QPushButton and QLineEdit are now drawing always
the base background and when they are hovered a alpha mask is used to
overdraw the elemens to create a highlight effect.

Fixes: QTBUG-124286
Pick-to: 6.7 6.7.1
Change-Id: I65436493bc2b1572c0d9423a066caea3ba9e1459
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2024-04-30 17:46:34 +02:00
Lena Biliaieva c6438054b9 Add QHttpHeaders to QNetworkReply
Added headers(), setHeaders() and setWellKnownHeader() methods to
QNetworkRequest that work with QHttpHeaders.

[ChangeLog][QtNetwork][QNetworkRequest] Added headers(), setHeaders()
and setWellKnownHeader() methods to QNetworkRequest to provide
an interface to work with QHttpHeaders.

Task-number: QTBUG-107751
Change-Id: Icfb132a307aed030817c8e01ef908d4fd2faf60c
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-04-30 17:46:34 +02:00
Frédéric Lefebvre 85543ed012 QTBUG_25669_menubarActionDoubleTriggered() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I0ac3813a5082af9ca86e6d5fa746685f12e6389d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 17:46:34 +02:00
Frédéric Lefebvre 2cc92f6eda tst_QMenuBar::QTBUG_65488_hiddenActionTriggered remove setActiveWindow
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ie5e5ecb8616201fc3efd783c660af53744048767
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 17:46:34 +02:00
Frédéric Lefebvre ee9af0542e taskQTBUG53205_crashReparentNested() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I5daca4f335333394fa324d0c800fb20dae0d9909
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 17:46:34 +02:00
Frédéric Lefebvre 76087c8717 closeOnSecondClickAndOpenOnThirdClick() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Id7e9fa632dda54c873881c9c5385cfab5158bc1f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 17:46:34 +02:00
Tatiana Borisova 5dbd6a44d8 QMimeType: use modernize comparisons
Replace class operators operator==(), operator!=() of
QMimeType to friend method comparesEqual() and
Q_DECLARE_EQUALITY_COMPARABLE macro.

Use QT_CORE_REMOVED_SINCE and removed_api.cpp to get rid of
current comparison methods and replace them with a friend.

Task-number: QTBUG-120304
Change-Id: I9776e98c8a3b14d599733c91af61fbc12b1f0e57
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-30 17:46:34 +02:00
Frédéric Lefebvre 9ed9ef5502 tst_QMenuBar::check_cursorKeys1() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I1bdcc0c70ccb88b0c66d226bfcf83a031add56af
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:25 +02:00
Frédéric Lefebvre 0a81237064 tst_QMenuBar::check_accelKeys() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I1ee591c0677e466c80ac0f8283fad4c4161aa195
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:25 +02:00
Frédéric Lefebvre 9dc6344449 tst_QMenuBar::activatedCount() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Id53b450ea802a80715a13e4e2ae222af9101c780
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:25 +02:00
Frédéric Lefebvre 7a55965e71 tst_QMenu::transientParent remove QApplicationPrivate::setActiveWindow
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I4b1938d082eeedb7e40e97d4b0df76aee5847dc2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:25 +02:00
Frédéric Lefebvre c9a4557e85 tst_QMenu::overrideMenuAction() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ib454d716d43f42309b141dd09f2dcd90b5f76740
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:24 +02:00
Frédéric Lefebvre 06b374eae1 tst_QMdiSubWindow::task_182852() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I72acfc354fca807feb71e7a2eeb3c93e27d82ff5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:24 +02:00
Frédéric Lefebvre 497a02fd97 tst_QDateTimeEdit::enterKey remove QApplicationPrivate::setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I948165217193a6616828475682c7d75f057b3f39
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:24 +02:00
Frédéric Lefebvre 4c4b28a90f tst_QDateTimeEdit::tabKeyNavigationWithSuffix remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I719af713c2f41fb722ef55a772f9ea22e3e83ae0
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:24 +02:00
Frédéric Lefebvre a6b2ef579d tst_QDateTimeEdit::tabKeyNavigationWithPrefix remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I1bda28255f1c8939ef1796aaf80821009c01cee0
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-30 10:19:24 +02:00
Eskil Abrahamsen Blomfeldt 5711aaa017 test: Don't crash when focusWidget() is null
If QApplication::focusWidget() returns null, which was the
case on Wayland under some circumstances, then the code collecting
the error output would crash when dereferencing the null pointer.

This fixes that crash and gets proper test failure output instead.

Pick-to: 6.5 6.7
Fixes: QTBUG-124475
Change-Id: Ic34228be953cf42dfe2ebf75957cd48791e6de7d
Reviewed-by: Liang Qi <liang.qi@qt.io>
2024-04-30 07:14:41 +02:00
Tatiana Borisova 51420d910b QMetaMethod: use new comparison helper macros
Replace public friend operators operator==(), operator!=() of
QMetaMethod to friend method comparesEqual() and
Q_DECLARE_EQUALITY_COMPARABLE macro.

Task-number: QTBUG-120304
Change-Id: Idb3f880a1db4850d73a58ed37f8cbd3454dd5ea2
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-30 00:11:33 +02:00
Jarek Kobus 9ac7e8f408 QThread: Use storeRelease when assigning the pointer
Make it consistent with other assignments.

Change-Id: If6aeb1007436e3b6a035494116786c2ab2f079ca
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-04-29 23:11:04 +02:00
Jarek Kobus 159ea47e2f QThread: Reuse isMainThread()
Internally, reuse threadId and theMainThreadId.

Change-Id: Iea6e7d8fcbcaf7e2f4dbf8ab33890d0f7954edc0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-04-29 23:11:04 +02:00
Tatiana Borisova de0f145022 QMetaSequence and QMetaAssociation: use new comparison helper macros
Replace public friend operators operator==(), operator!=() of
QMetaSequence and QMetaAssociation
classes to friend methods comparesEqual() and
Q_DECLARE_EQUALITY_COMPARABLE macroses.

Task-number: QTBUG-120304
Change-Id: I88e9b228220d36092437bfb71ae2f053d2e99fdf
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-29 22:28:51 +02:00
Samuli Piippo 4fe3337394 rcc: don't track source file location
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: Ia4ca8d1b22751d0bf110082872b6b4228d01ff9a
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-29 19:37:29 +00:00
Frédéric Lefebvre 5e73f9a73c tst_QMdiArea::changeWindowTitle() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I22c7b573a4a9dc78047d2d6354591d7cea92cb23
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:37:29 +02:00
Frédéric Lefebvre aa8d720ea9 tst_QMdiArea::subWindowActivateWithMinimize() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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