Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corelib: Restore qAppFileName on OS/2.
This is needed for QProcess. Using QCoreApplication::applicationFilePath is not correct as it requires a QCoreApplication instance which is not required by QProcess itself. While we could still make it work on OS/2 but it's not safe too because the value returned by this method may be changed by QCoreApplicationPrivate::setApplicationFilePath to an arbitrary value while QProcess needs a path to the real EXE image.
- Loading branch information
Showing
2 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters