feat: support opening source files by clicking them on macOS#849
feat: support opening source files by clicking them on macOS#849coder3101 merged 16 commits intocpeditor:masterfrom
Conversation
|
From QFileOpenEvent docs
I expected some OS macros, how is it being handled in other OS? |
sonulohani
left a comment
There was a problem hiding this comment.
LGTM. Wait for others also to review the code before merging it into master.
This reverts commit abaa448. QSingleApplication requires this argument to be a reference.
ouuan
left a comment
There was a problem hiding this comment.
Now it looks good to me. However, we still need someone to test it on macOS.
I will test and let you know. |
coder3101
left a comment
There was a problem hiding this comment.
Looks good and works fine as well.
|
BTW, should we also do this for Windows (by editing the registry files)? |
Oh, I forgot that this is just a part of #846. We can do it for both Windows and Linux. |
|
I think we'd better open a new issue. #846 was two problems mixed into one issue. |
Description
Listen
QFileOpenEventto open files and register as an editor for code files on macOS.Related Issues / Pull Requests
Closes #846
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate)
Checklist
oldattribute is updated or it is resolved in SettingsUpdater.tr()orQCoreApplication::translate().Additional text