Commit Graph

66972 Commits (e3c8a94ef5010be74e15bc9efcbcd71ce58ee174)

Author SHA1 Message Date
Marc Mutz e061491209 QSignalSpy: inline connectToSignal() into its only caller
Following the verify() Extract Method refactorings, this function has
only one caller left, so it doesn't pull its weight anymore.

Task-number: QTBUG-123544
Change-Id: I93a296a9be81ef9c3b702065e76ecc4b822a0a43
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-04-26 01:45:56 +02:00
Marc Mutz 51e0a33a54 QSignalSpy: de-inline most of the private ctor
... by moving its body into an out-of-line init() function.

This allows to drop the exporting of connectToSignal().

We can't de-inline the whole ctor (yet), because that would pin the
vtable to the qsignalspy.cpp TU, which would require us to export the
class wholesale to make the vtable accessible to users of the class,
but we can't export the class because it inherits QList.

Task-number: QTBUG-123544
Change-Id: Ieffd6d2f542daa20e876c6114cb5dc8150870bb4
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-04-26 01:45:55 +02:00
Eskil Abrahamsen Blomfeldt 9ecb468aec Update Harfbuzz to 8.4.0
Pick-to: 5.15 6.2 6.5 6.7 6.7.1
Fixes: QTBUG-124757
Change-Id: I1fa9259c2f7cb45b4dcec8956c2186735c89fb95
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-26 01:45:55 +02:00
Friedemann Kleint ca843efbf6 QDialog: Add Q_ENUM to DialogCode
This helps the dynamic Python bindings project.

Change-Id: Ibe2c06f4a4e5fd9c3ca41884d811990ec9328b80
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-25 22:58:25 +02:00
Jens Trillmann efd00066b4 Android: Propagate a11y ObjectShow events to screen reader
Sending an ObjectShow event, e.g. by setting QQuickItem::visible to
true, has to trigger a refresh of the screen reader hierarchy. If the
signal is ignored the source of the signal will be ignored by the
screen reader.

Fixes: QTBUG-122436
Pick-to: 6.5 6.7
Change-Id: I32ee2e8b2602cd0dd9b9a83ff1fe426d88d137a8
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2024-04-25 17:19:20 +02:00
Volker Hilsheimer bce9d648c2 ColorScheme: remove unused QWindowsApplication::isDarkMode
It unnecessarily duplicates and distributes logic for reporting whether
the application should run in dark or light mode.

Task-number: QTBUG-124490
Change-Id: I227660cf3e1f21afd5fd9b3d6452f6109f3cf799
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
2024-04-25 17:18:25 +02:00
Volker Hilsheimer d3b0d414b0 ColorScheme: consolidate dark mode handling on Windows into Theme
Move storage of whether dark mode is set into a static class member
of QWindowsTheme, and remove QWindowsContext::isDarkMode; ask the
theme instead using the colorScheme() implementation, which will return
the stored value.

Move the code handling settings changes into QWindowsTheme as well.

Task-number: QTBUG-124490
Change-Id: I4795e80b6ab2c94701385dc84771e9ad5578cf32
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2024-04-25 17:18:22 +02:00
Jan Arve Sæther 4f3f7d4622 Layouts: Compile fix #ifdeffed out debug code
Change-Id: I1e7ffe1b27688e6d2258af4dcea1b32f02f73923
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
2024-04-25 13:22:30 +02:00
Jarkko Koivikko 6c72080f26 print: Clamp margins entered by the user in the page setup dialog
The current functionality discards all margins if any values fall
outside the minimum or maximum limits. This can confuse and
frustrate users since the Windows native page setup dialog doesn't
enforce minimum values.

Introduce a new parameter outOfBoundsPolicy for the set margins
functions in the QPageLayout:
- OutOfBoundsPolicy::Reject The old behavior rejecting out of
  bounds values.
- OutOfBoundsPolicy::Clamp The new behavior for clamping the values.

The OutOfBoundsPolicy is applied only in StandardMode to maintain
backwards compatibility in FullPageMode, where all margins are
accepted.

Use the new Clamp policy in the printsupport where the clamping is
necessary.

Maintain binary compatibility by putting the declaration of the old
symbols without policy parameter behind QT_GUI_REMOVED_SINCE, and
implement them in removed_api.cpp to call the new versions.

Task-number: QTBUG-122410
Change-Id: I06aee292c1daff2863502f471b03798dafbcd81b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-25 14:22:30 +03:00
Christian Ehrlicher b4c63b89df QSqlDatabase: add moveToThread()/currentThread()
Add QSqlDatabase::moveToThread() to be able to move the driver instance
to another thread.

[ChangeLog][Sql][QSqLDatabase] QSqlDatabase gained two new functions
moveToThread() and currentThread() to be able to use it in another
thread than the one it was created in.

Fixes: QTBUG-39957
Change-Id: I9cb51358f73a3a2fa72813bfdbe059279d388bd7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-04-25 08:27:21 +02:00
Marc Mutz 46ad7fe966 QSignalSpy: make args member const
This means it's implicitly thread-safe now and we don't need to
protect accesses to it with the mutex.

Task-number: QTBUG-123544
Change-Id: I9f826003dca6fb81e7a75e283482c81ecff09be0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-04-24 22:34:14 +02:00
Marc Mutz 951bf6e3ec QSignalSpy: make two private static helpers file-static
... because they can be.

As a drive-by, fix clazy-function-args-by-value by taking QMetaMethod
by value.

Task-number: QTBUG-123544
Change-Id: Icdad68b91850d284c918e6180f3ce841de2af016
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2024-04-24 22:34:01 +02:00
Marc Mutz 47f5c21e1b QSignalSpy: pull makeArgs() out of ctor critical section
First store the result in a temporary, and, in the critical section,
only move it into place. This minimizes the amount of code in the
critical section (Amdahl's Law) and also means we don't need to
permanently drop the mutex when we call unbounded code using
metacall(). That, in turn, makes sure the args member is only ever
seen empty or fully populated.

Since makeArgs() no longer accesses member functions now, we can make
it static.

Task-number: QTBUG-123544
Change-Id: If19db53f85d7c9eb18d4fb2c61e1aa3d4b9c2e00
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2024-04-24 20:32:35 +00:00
Marc Mutz d6c7b0c2bc QSignalSpy: make initArgs() return the result
... instead of working directly on the member variable.

This is in preparation of making said member variable const, so it
need no longer be protected by the mutex.

Task-number: QTBUG-123544
Change-Id: Ifc407502ec2c5c52dc3b42edea18be7fc672a968
Reviewed-by: David Faure <david.faure@kdab.com>
2024-04-24 22:32:15 +02:00
Marc Mutz ef2b55ee65 QXmlStreamEntityResolver: disable copying
It's a polymorphic class, so disable copying as we do for all other
interfaces, too.

Disabling the copy/move SMFs requires manually restoring the default
ctor.

[ChangeLog][QtCore][Potentially Source-Incompatible
Changes][QXmlStreamEntityResolver] Disabled the copy and move
constructors and assignment operators. You can still provide them for
your own subclasses, but you must do so explicitly.

Change-Id: Ie2460f88664198707fdd4119376503f81a0f2a8d
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-24 22:31:25 +02:00
Marc Mutz 8ab63278ef QSignalSpy: de-inline chrono wait()
Because we can now that there's a .cpp file.

Task-number: QTBUG-123544
Change-Id: Ie525e157016cb3c0c7a273fba3fadb13d54c1877
Reviewed-by: David Faure <david.faure@kdab.com>
2024-04-24 21:36:49 +02:00
Marc Mutz ad755020e1 QSignalSpy: de-inline verify() helper functions
Now that we're moving the code anyway, also move their declarations
into the general private: section of the class.

Task-number: QTBUG-123544
Change-Id: I6b1e7006b73b710daa4b511b2fd643293a3d4844
Reviewed-by: David Faure <david.faure@kdab.com>
2024-04-24 21:36:49 +02:00
Marc Mutz 88b5b1bce9 QSignalSpy: de-inline private helpers
Reduces the code a compiler including qsignalspy.h needs to parse and
codegen.

The order of the functions in the .cpp file is chosen to minimize the
diffs to follow-up changes.

We can't de-inline the private ctor, because that would pin the vtable
to the qsignalspy.cpp TU, which would require us to export the class
wholesale to make the vtable accessible to users of the class, but we
can't export the class because it inherits QList.

Task-number: QTBUG-123544
Change-Id: Ib26fdb68e1fc0e6f6919e4cd25759b7047f9977c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-04-24 21:36:49 +02:00
Marc Mutz 2822b22610 QRestReply: add a few more content-type parsing tests
... incl. some that fail.

This is in preparation of a patch that makes the parser more
compliant.

Pick-to: 6.7
Task-number: QTBUG-120307
Change-Id: Ic47b23132f2a7ea81b6c480bfb036bc2daff05da
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
2024-04-24 21:36:49 +02:00
Thiago Macieira 2b694aae47 qdnslookup tool: add the ability to resolve hostnames
We always just take the first, which QHostInfo should have sorted in
priority order.

Change-Id: I455fe22ef4ad4b2f9b01fffd17c7bc6460f06b98
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-04-24 12:36:48 -07:00
Thiago Macieira 1d17604c65 CMake: fix cross-compilation build: ${CMAKE_SYSTEM_PROCESSOR} is empty
CMake Error at tests/auto/corelib/global/qcomparehelpers/CMakeLists.txt:
20 (if):
  if given arguments:

    "CMAKE_VERSION" "VERSION_GREATER_EQUAL" "3.20" "AND" "NOT" "MACOS"
"AND" "NOT" "VXWORKS" "AND" "NOT" "(" "LINUX" "AND" "MATCHES" "aarch64"
")"

  Unknown arguments specified

Pick-to: 6.7
Change-Id: I6979d02a7395405cbf23fffd17c900d8e25e4c0c
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-24 12:27:31 -07:00
Paul Wicking 9fff57f9dd Remove unmaintained README
The file was last changed in 2015 and is woefully outdated.
Remove it as it is clearly not considered worth maintaining.

Change-Id: Ia1c90d7c0b78d209f31d739b2eb0c95cbd93d619
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2024-04-24 19:02:09 +02:00
Lucie Gérard 6b530c0685 Add license exception
This is a follow-up to commit d5e40b5e58

Task-number: QTBUG-121787
Change-Id: I45c8c4b4a0348f46fa546a1fee53ba5196bf7d8a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2024-04-24 19:02:09 +02:00
Edward Welbourne 2341dc9ad1 QAbstractFileEngine member classes: sort out construction
QAbstractFileEngine::(Un)?MapExtension(Option|Return) didn't
initialize their members in their default constructors. The two Option
types were each insantiated in one place that set each field, so give
them overt constructors taking the field values. For the Return type,
apply NSDMI to its one data member. The code using it does ignore the
data member unless extension() succeeds, but a derived class that
wronlgy neglects to set it while succeeding would have caused trouble.

Disable copy and move for all three, overtly declare the default
constructor for the Result.

Task-number: QTBUG-122619
Change-Id: I4b30d383c59e52735d54d9f709c532d504bdea60
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
2024-04-24 19:02:09 +02:00
Assam Boudjelthia 6e8f97b83b Remove check for Qt version > 4 that's not useful now
Pick-to: 6.7
Change-Id: Ia24b2b9fb9f3b070f8eccaf74a09787b324ab01e
Reviewed-by: Tinja Paavoseppä <tinja.paavoseppa@qt.io>
2024-04-24 18:46:34 +02:00
Vladimir Belyavsky 2272e8f228 QHttp2Connection: Use QHash::constFind() to avoid unnecessary detaches
Use  QHash::constFind() instead of non-const QHash::find() where
applicable to avoid unnecessary detaches.

Change-Id: I77022c1b2fffca45181b3e1271dfb123b4691047
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-04-24 16:46:34 +00:00
Eirik Aavitsland 5f0ed0ac0d QMovie: fix regression in frame delays
The recent addition of support for multi-frame (non-animation) formats
had an unwanted side effect of sometimes calling
QImageReader::nextImageDelay() when the reader is at a different
frame than intended. Fix by effectively reverting to the previous call
pattern.

Fixes: QTBUG-124227
Pick-to: 6.7 6.5
Change-Id: I735f8d67afb17bd4c77f9b4507a71796b7d66958
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2024-04-24 15:13:12 +00:00
Ulf Hermann 175839695d configure: Add define on whether QT_COORD_TYPE is float or double
This way we can identify whether the type is float or double or
something else in the preprocessor. This is helpful for identifying the
primitive types available to QML.

Change-Id: I635f01cb888b9a6a5b35c3f1cbd6e66ff8a65beb
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-04-24 17:13:12 +02:00
Tim Blechmann 7a62c96238 CMake: add licenseRule.json to IDE projects
Some repos have licenseRule.json files. Adding them to the IDE projects.

Pick-to: 6.7
Change-Id: I7fdc054d244d48e3343866775671d8f4f4c9390b
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
2024-04-24 16:41:23 +08:00
Allan Sandfeld Jensen e7362764d4 Tighten CMYK ICC parsing
Must include a CLUT

Change-Id: I790e0c86d4cdbcfbcfda9e35c7689090f44711a6
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2024-04-23 22:33:44 +02:00
Ingo Klöcker 60432b02f1 Remove undefined method logicalIndex
The method isn't used and not even defined.

Change-Id: If442806e8d4b7e5ac8f83bc783163c02bbabf47f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-23 22:33:44 +02:00
Ingo Klöcker 250176a413 Remove obsolete comment
The code this comment applied to was removed with
b2ec0da956

Change-Id: I15191c0e9f134375069647d1276a0d60d6360813
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-23 21:25:35 +02:00
Edward Welbourne e08ca2c9c8 Fix spacing inconsistencies brought to light by flake8
It has many grumbles about spacing, but at least this code is
currently consistent about its departure from PEP8's spacing rules
(and closer to Qt's) for the present. We can review whether to do a
drastic spacing revolution later.

Change-Id: Ife4e8a5b02b63434bd9c7ac7ba4cbc11b6311f9f
Reviewed-by: Mate Barany <mate.barany@qt.io>
2024-04-23 20:51:19 +02:00
Jaishree Vyas 210063a3cf Doc: QDataStream doc example
Updated the example description

Fixes: QTBUG-123035
Pick-to: 6.7
Change-Id: I3dc953b02297e6e6bd9aecbc2e8831f13cf48715
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 291a720d10 tst_QGraphicsView::viewportUpdateMode2() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: If3964a02e2de34cc257095e9f191e5ada600c9fb
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 1cc5af4550 tst_QGraphicsView::viewportUpdateMode():: remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I04843e65f0611b32392ec5e5325a0113b65525e5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 4eea3827f1 tst_QGraphicsView::wheelEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I0e16e556273bf03c42bad12fc3801c0848041a7c
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 13c941c5c2 tst_QGraphicsView::sendEvent() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I760380166bc49fc3e4538959699141e4f03f5bd9
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 3069aa4447 tst_QGraphicsSceneIndex::clear() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: Ied2110ec9d1f7695bee2589ce4f3055ea8a78615
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 9f670a9002 tst_QGraphicsSceneIndex::removeItems() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I64bca844698522dba989e914c95ca08620314201
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:40 +02:00
Frédéric Lefebvre 28876f877f taskQTBUG_42915_focusNextPrevChild() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I8f55afeb893937029e3ba05f141b9e4494ecd2d5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:39 +02:00
Frédéric Lefebvre cd6abba8a6 tst_QGraphicsScene::taskQTBUG_16401_focusItem remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I65999d64a67309fd3a3b785e7aaa508a8c6caebb
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:39 +02:00
Frédéric Lefebvre 8d79e6113e tst_QGraphicsScene::focusOnTouch() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I8a55f99ef5e1fbbc71dc360989a40fc7d21326fb
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:39 +02:00
Frédéric Lefebvre a4ed4dda7a tst_QGraphicsScene::removeFullyTransparentItem remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls.

Task-number: QTBUG-121488
Change-Id: I171d17f0ded6c74607ed2538e1550af52cabded1
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 17:40:39 +02:00
Qt CI Bot b66089a453 Merge integration refs/builds/qtci/dev/1713869210 2024-04-23 14:44:27 +00:00
Tor Arne Vestbø 2342fa5fe2 Enable framework builds for all Apple platforms, including static builds
Static frameworks are now a supported by Apple, so we switch the default
for all Apple platforms, including Qt for iOS and visionOS.

 https://developer.apple.com/documentation/xcode/creating-a-static-framework

This allows us to bundle resources with our libraries, such as the
privacy manifest.

Xcode 15 and later will ensure that the linked and embedded framework
is not copied into the application bundle, as it's already linked into
the app as a static library.

Change-Id: Iaf64e7df2d6969d9562fb31ba65f05767e14506e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-04-23 16:44:26 +02:00
Volker Hilsheimer eee575595b ColorScheme: clean up code to prepare adding a setter
The current QStyleHintsPrivate::setColorScheme is called when the system
theme changes, handling the change and informing the application. It is
not a setter. When we add a public setter, that setter will have to go
through the QPlatformTheme to request an override for the application.
That will then result in a call back to the QStyleHints to update the
theme with the effective color scheme (or ignore the request for the
override, on some platforms).

Rename it (and similar misleading APIs in platform plugins) to
updateColorScheme, and adjust outdated comments in some of the platform
plugins.

Task-number: QTBUG-124490
Change-Id: I6a852211254993df86acf2e2d42cf345e7401f4f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-04-23 16:44:26 +02:00
Marc Mutz c1f1523047 QAtomicScopedValueRollback: remove impossible constexpr
Neither atomic::load() nor store() are contstexpr in the standard. The
only reason this code compiled is because QASVR is a class template,
so contexpr tags that can't be fulfilled are silently dropped at
instantiation time by the compiler.

Remove the tag to avoid giving readers the wrong idea.

Reported-by: Thiago Macieira <thiago.macieira@intel.com>
Pick-to: 6.7
Change-Id: I6f23ab9fb2e8ceecaa45ffaef1fadbc7de266803
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-04-23 13:24:42 +00:00
Friedemann Kleint b0325c7992 uic: Write fully qualified enumerations for cursors/icon pixmaps
Fixes: PYSIDE-2492
Pick-to: 6.7
Change-Id: Ic2505628b0550654c109cf239b4f2390f03df623
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
2024-04-23 12:33:54 +02:00
Frédéric Lefebvre 9c1ed93a27 tst_QGraphicsScene::isActive() remove setActiveWindow()
2f6fe3a268 has made calls to
QApplicationPrivate::setActiveWindow() redundant.

Remove redundant calls from the toplevel3 section.

Task-number: QTBUG-121488
Change-Id: Id33b32041d6d6b02425f855c7032d695057e33ea
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-23 12:25:39 +02:00