summaryrefslogtreecommitdiffstats
path: root/util/cmake/pro2cmake.py
diff options
context:
space:
mode:
authorTor Arne Vestbø <[email protected]>2023-12-09 19:06:01 +0100
committerVolker Hilsheimer <[email protected]>2023-12-11 15:35:40 +0000
commita81395f2c604c84cd0e6f18165c766419f26b7ba (patch)
treeac9b65c3526523c1f28e20a58dac7a4a00d7cf1f /util/cmake/pro2cmake.py
parent3bf7e0693ec1df01d2d27e28ab38f553beaa9c82 (diff)
macOS: Use single truth to track file dialog current directory
Unfortunately we can not rely on the file dialog panel for this, via the directoryURL property, as that property has not yet been updated during a panel:directoryDidChange: callback, resulting in the directory reported to the user being the previous directory. Since we already have to store the current directory for the case where we haven't yet created the file dialog panel we re-use this variable as the single place to store the current directory. It's not clear whether we still need to normalize the strings we get from the NSSavePanel, but the code has been left in, even if the old callback code didn't normalize the path that we then emitted as directoryEntered(). Fixes: QTBUG-119371 Pick-to: 6.7 6.5 6.6 6.2 Change-Id: I379a47053302e73d5e06a2b941f40365c17390d5 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'util/cmake/pro2cmake.py')
0 files changed, 0 insertions, 0 deletions