James Turner
9fc45e598f
Remove Qt includes from fgfsObjects build
...
Sink all Qt classes into the specific libraries, so the main objects
don’t need the includes available.
2021-03-09 21:54:47 +00:00
James Turner
3fd54b2477
macOS: detect and warn if running translocated
...
Translocation forces us to rebuild the nav-cache each launch, and might
mess up some other details, so let’s warn the user they should copy
the app to Applications or similar.
2021-02-04 10:34:59 +00:00
James Turner
0bb9600795
Add-ons localization support
...
Add-on meta-data can be localized now, in the same manner as aircraft
metadata.
2020-07-09 18:14:56 +01:00
James Turner
a9e5a27e55
UI handling tweaks
...
- add class to handle top-level windows
- remove requirement to use custom graphics-window
- order alongside PUI UI
2020-06-05 17:54:27 +01:00
James Turner
79562bcf31
Avoid crash on Cmd-Q exit of the app on macOS
...
On this code path, AppKit uses exit, rather than letting main run as
normal. We handle most things via C++ destructors, which do run, but
Qt is happier if we clean it up explicitly.
2019-04-17 22:53:10 +01:00
James Turner
32cc9be007
Enable auto-save migration.
...
When performing the migration, let the user know it happened, and to
be alert for any issues that might occur.
2017-09-20 17:57:25 +01:00
James Turner
16814800ce
Use Paths instead of strings.
2016-06-22 17:36:05 +01:00
James Turner
03ecac9dbc
Work with new SGPath API.
2016-06-22 17:36:05 +01:00
James Turner
6e3a935abb
Fix a Cocoa warning.
2015-06-08 10:37:26 +01:00
James Turner
f4b07f899a
Explicit NSBundle include
...
- should fix Jenkins build, hopefully.
2015-04-20 10:35:24 +01:00
James Turner
c07ce6d9bc
Explicit AppKit includes for Mac.
2015-04-11 21:59:29 +01:00
James Turner
4c51ad0d87
Cocoa: fix warning about deprecated function.
...
SetFrontProcess is deprecated, use NSApplication instead now we
have the CocoaHelpers file.
2013-12-21 15:31:27 +00:00
James Turner
1f699984e9
One more Mac helper moved into CocoaHelpers.mm
2013-11-19 22:01:11 +00:00
James Turner
2331956539
One more Mac helper moved into CocoaHelpers.mm
2013-11-18 15:52:30 +00:00
James Turner
fecb475145
Refactor Cocoa helpers.
...
Change away from using deprecated FSFindFolder.
2013-11-16 10:58:17 +00:00