diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-10-26 15:39:44 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-11-12 18:40:02 +0200 |
| commit | 6343caae25179b5895b4169d7b97d61293e49b0f (patch) | |
| tree | e94c7ce9c7e4662b05ee74e5122288dc74b6da9a /src/widgets/doc/snippets/qtreewidgetitemiterator-using/mainwindow.cpp | |
| parent | b8879b4d2dea67d7b21e604e807095baa23c30e0 (diff) | |
macOS: Only bring application forward on launch if needed
We override the macOS default behavior of not activating applications
unless they are launched from Finder. To play a bit nicer, we now
try to detect if we're already the frontmost application, and skip
the explicit activateIgnoringOtherApps if so.
Pick-to: 6.5 6.6
Change-Id: Iff4ddc3dc50aeb9700c88882dd7a270cfea5b737
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qtreewidgetitemiterator-using/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
