Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Why not expose getHome() #26

Open
blobfish opened this issue Jan 23, 2023 · 2 comments
Open

Request: Why not expose getHome() #26

blobfish opened this issue Jan 23, 2023 · 2 comments

Comments

@blobfish
Copy link

Wondering why the class can't expose the getHome() function also?

@sago007
Copy link
Owner

sago007 commented Jan 23, 2023

My original thought was to not expose platform dependent files. Although I did start doing it with the "sago::internal::" namespace for the Windows wide char conversion functions, so I have started to relax the requirement.

I wonder if people really want to use the internal getHome function. It contains a workaround that is no longer needed since Ubuntu 18.04 reached EOL. That might confuse people.

@blobfish
Copy link
Author

Sorry, I didn't phrase my question very good. Why not have a public function to get the users home directory?
QDir
QStandardPaths::HomeLocation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants