Commit Graph

67073 Commits (888459ff1070f501530f91c8a5db30f3b7293d4d)

Author SHA1 Message Date
Frédéric Lefebvre 888459ff10 tst_QMdiArea::activateNextAndPreviousWindow() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If8dff66e64395012955e293d82a1e663a6bd92cc
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
Frédéric Lefebvre fd2b4235d3 tst_QMdiArea::closeWindows() remove SetActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ibe49e4469072df21d44d8411c1e57d24cd4b13e4
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
Frédéric Lefebvre 001c13fd2c tst_QMdiArea::currentSubWindow() remove setActiveWindow() lower section
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I18e1233807cdde8c1f26c86fbbe7f34fc1311c0f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
Frédéric Lefebvre 545d10d471 tst_QMdiArea::currentSubWindow() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Idfdc6354c0083fff0b4d0d14213c08ac4415c950
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
Frédéric Lefebvre 88b03ba7bf tst_QMdiArea::activeSubWindow() remove setActiveWindow()
2f6fe3a268 as made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If72292a4d9281da4fea6f40b032cece353c51fa1
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
Frédéric Lefebvre 133d15584c tst_QAbstractItemView::deselectInSignleSelection remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I9a22be07862b47c013686173da04315ccdd6bf1d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
Frédéric Lefebvre 33f703bf4c tst_QAbstractItemView::testChangeEditorState() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I163589828d64e837b9c170e724bc44251e4f64ef
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:20:26 +02:00
Frédéric Lefebvre 8beaa72134 tst_QItemDelegate::enterKey remove QApplicationPrivate::setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If9058e015fa8223c3c318ba240eddf2ab24949be
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:20:26 +02:00
Frédéric Lefebvre 6776c828e2 tst_QItemDelegate::dateTimeEditor() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove 2 redundant calls.

Task-number: QTBUG-121488
Change-Id: I8f8d6e5988759836a880c6c141605f0593f81098
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:20:26 +02:00
Frédéric Lefebvre 715be09f94 tst_QHeaderview::statusTips() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ie2be1421019d09d12d1860b22fe1c98fd8bc2a59
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:20:25 +02:00
Frédéric Lefebvre 3cb3a2511c tst_QAbstractView::inputMethodEnabled() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove 6 redundant calls from the //Check focus by switching the
activation of the window to force a focus in section.

Task-number: QTBUG-121488
Change-Id: I9f1ff1680ae01253261717ee81920ec38dfe8847
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:20:25 +02:00
Marc Mutz 59d24e3615 QSettings/removed_api: don't return <void expr>
Fixes clazy-returning-void-expression.

Amends 4cf299eb5b.

Pick-to: 6.7 6.5
Change-Id: I6192deb82afe9a5ba7ddaf6203d4046f518c545a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-29 21:20:25 +02:00
Ali Kianian 148add03f3 Enable resetting a sort model by descending order
By this change, sort(any_negative_number) will stay unchanged, and it
unsorts the model so that the order will be the same as the source
model.
But when the second argument of the sort is set to DescendingOrder
deliberately, the result will be the same as the source model, but in
reverse order.

[ChangeLog][QTCore][QSortFilterProxyModel] QSortFilterProxyModel.sort
sorts the proxy by the source model index descending if the sort
column is less than zero and the order is descending.

Fixes: QTBUG-124863
Change-Id: I73f9d3b500a929efa969cf24ef3d8fe758167645
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-29 22:20:25 +03:00
Even Oscar Andersen f9a994b86a wasm: Add qurl autotest
The testThreading test was deadlocking due to waiting for
threads to start. Rewritten the wait to use a QEventLoop

Change-Id: If1a864c054c1de1239694b201a4cf0e8186fc1d0
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 108caf0797 tst_QGraphicsProxyWidget::paintEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ia3de47e0a934d9b3a15df15d5bc3ca28691a4727
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre e504e71816 tst_QGraphicsProxyWidget::mouseDoubleClickEvent remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I3810aee981bacdccc4545b69fe274bdbdde36a3d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 9ed4b3c6ce tst_QGraphicsProxyWidget::keyReleaseEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iedff54d54daa486bba39e593529dbf1b66cb7796
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 8a84f8de47 tst_QGraphicsProxyWidget::keyPressEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ifc0b89bcfb97a72584b45d7fbe78c95bfb43dea2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 2f2058875e tst_QGraphicsProxyWidget::focusOutEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I846094fc99830f9964374c7baee9fc96a0a36b73
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 7ee85b0bfe tst_QGraphicsProxyWidget::focusNextPrevChild remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ibbe225fff3a9854495bae5f43ad1a95abc219052
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 46d1e61ca7 checkEmbeddedLineEditWhenStyleSheetIsSet() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I0e61d72753e7d0d5f28a17b6ec771bd7fb2f71b7
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre b21302469a task_QTBUG_52027_mapCompleterIndex() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I57ed053e2bc6a2b0a05befecc8f7368d3b54fd0d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:23 +02:00
Frédéric Lefebvre 706fe558d8 task_QTBUG_1071_changingFocusEmitsActivated() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I33e7f6b7a9d883de91084b2578990d9641dd9b8d
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:22 +02:00
Frédéric Lefebvre 68b5eb6bd8 tst_QComboBox::keyBoardNavationWithMouse() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iea8d365bb6e07663517aa710d4730e728d3d1533
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 19:20:22 +02:00
Santhosh Kumar 8f283aa299 Fix progress bar rendering issue when using windows 11 style
The Windows 11 style checks for QProgressBar type and gets the
respective orientation required for rendering. This creates an issue
when we use QStyleItemDelegate as it's not QProgressBar type. This patch
removes that condition and gets the orientation information through the
style option similar to Windows Vista style.

Fixes: QTBUG-124447
Pick-to: 6.7
Change-Id: Ic2b36d79d7af017262e44dd2800ad45fbe63f8f2
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2024-04-29 18:26:15 +02:00
Lena Biliaieva fa456ad550 Add QHttpHeaders to QNetworkRequest
Added headers() and setHeaders() methods to QNetworkRequest.

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

Task-number: QTBUG-107751
Change-Id: I2e1dc7cb2efab5903eb7ff23b75d01aefe13273d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-04-29 18:26:15 +02:00
Frédéric Lefebvre 979836382e tst_QComboBox::task220195_keyBoardSelection2() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iaf1ba189666877743eed378403ac4c38500ade18
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre 2d82a42fea tst_QComboBox::task247863_keyBoardSelection() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I54cfee848fbfbf65f7dd7e87c5eed9e226e03e20
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre 63e39d573c tst_QComboBox::flaggedItems remove QApplicationPrivate::setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I49a2b3809f76e6f9db8e807bc4dcdc9d11c43fcb
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre 78c20baf7d tst_QComboBox::autoCompletionCaseSensitivity remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I973f310c7d2c575612a2ebd4c36693f0dee2be29
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre 6a6ca07003 tst_QButtonGroup::task106609() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I8cd3ce928ede88ad7351174f6d34c29ba0a7e246
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre c54a1d7eb8 tst_QButtonGroup::keyNavigationPushButtons() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I07af8483a15344261a316da23707495f7ec2c84b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre 7b6f7a80da tst_QButtonGroup::arrowKeyNavigation() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Icd8737a881712bb9192b401a0e318fcec4622ac2
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre c36aa81264 tst_QAbstractButton::setShortcut() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I027b78c969affe195bd7dde9a3c974586804d1e9
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre efbac03168 tst_QScroller::mouseEventTimestamp() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I8f118386b861bfab61fa61c9fb4cf5863abcac83
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Frédéric Lefebvre f81fa1de1d tst_QScroller::overshoot() remove QApplicationPrivate::setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Iabebbeed38c20a5de150d688850e32a361290a90
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 18:26:14 +02:00
Andreas Eliasson f8bc0e7c3b Doc: Remove \note that indicates you can access the source code
There used to be an examples page; this is no longer the case. Thus,
remove the \note that indicates you can access the source code.

Fixes: QTBUG-122166
Pick-to: 6.7 6.6 6.5
Change-Id: I1abe88000ae406e8d2cc9cc1deed42664607626b
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
2024-04-29 17:38:52 +02:00
Tor Arne Vestbø 0b494c47d3 Don't quit automatically via QEventLoopLocker if there are open windows
As part of df359bcb70 the semantics and
interaction between QEventLoopLocker and QGuiApplication was changed,
based on the assumption that these two mechanisms were independent
and should not affect each other.

This had a surprising regression where the use of QEventLoopLocker in
combination with the QCoreApplication::isQuitLockEnabled() automatic
quit would end up quitting the app, even if it had open windows, for
example when the last job of some internal job queue finished.

It could be argued that if the app has open windows that should not
be closed, they should ignore the Close event, and that an application
with running QEventLoopLocker jobs should maintain an active window
showing the progress of those jobs, but still, this is regression
that we want to fix.

We now bail out if !lastWindowClosed() in QGuiApplication's
canQuitAutomatically, which is triggered from QEventLoopLocker's
isQuitLockEnabled() behavior. And we do so regardless of whether
quitOnLastWindowClosed is set or not, as the latter property
determines the behavior when closing a window, not the behavior
when a QEventLoopLocker goes out of scope.

Similarly, we now block quitting of the application when triggered
by quitOnLastWindowClosed() if a QEventLoop is active, regardless of
the isQuitLockEnabled(), as the latter property is determining
whether we should trigger a quit, not whether we should block them.

[ChangeLog][Important behavior changes] Fixed a regression where
the last QEventLoopLocker going out of scope would quit the app,
even if there were open windows, if quitOnLastWindowClosed was
false.

[ChangeLog][Important behavior changes] Fixed a regression where
closing the last window would quit the app, even if there were
active QEventLoopLockers, if isQuitLockEnabled was false.

Fixes: QTBUG-124386
Pick-to: 6.7 6.5
Change-Id: I84fd0ddea78a2f417f3a17b326113c880079cf85
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-29 14:26:38 +00:00
Frédéric Lefebvre d93ec246c7 tst_QGraphicsWidget::verifyFocusPolicy() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I2e3a630036b313696f62bbd3183c0448624395e8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 16:26:38 +02:00
Frédéric Lefebvre 462b85b7e9 tst_QGraphicsWidget::verifyFocusChain() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ie762c7fa6bc4bf15f8580b3569e2196a5bd40b25
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 16:26:38 +02:00
Frédéric Lefebvre 3c2062f5ee tst_QGraphicsWidget::setTabOrderAndReparent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I5bbe1cbd1e00a82504ed040347581264caf5b560
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 16:26:38 +02:00
Frédéric Lefebvre bdf136b1b3 tst_QGraphicsWidget::setTabOrder_data() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If105d1c2db3646c7d31d72aeaa373015f175fd44
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 16:26:38 +02:00
Frédéric Lefebvre 2e6a25da7c tst_QGraphicsView::QTBUG_70255_scrollTo() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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