Commit Graph

16648 Commits (fe161b9900a1f6254bbed233dbef81150411e839)

Author SHA1 Message Date
Frédéric Lefebvre fe161b9900 tst_QLineEdit::QTBUG697_paletteCurrentColorGroup remove setActiveWindow
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

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

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I186538fb40d3d040bdf86d4bffb9853b92ed3a07
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-29 21:26:17 +02:00
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
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
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