-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When an application name is set, Qt uses it internally for e.g. getting data/config locations: >>> QStandardPaths.writableLocation(QStandardPaths.DataLocation) '/home/user/.local/share' >>> qapp.setApplicationName('pytest-qt-qapp') >>> QStandardPaths.writableLocation(QStandardPaths.DataLocation) '/home/user/.local/share/pytest-qt-qapp' That way, when an application accidentally writes into a data/cache/config directory, it will be easier to find out (rather than those files just landing somewhere outside an application directory).
- Loading branch information
1 parent
e808006
commit fc1faad
Showing
3 changed files
with
39 additions
and
1 deletion.
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
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