PlatformFolders icon indicating copy to clipboard operation
PlatformFolders copied to clipboard

Request: Why not expose getHome()

Open blobfish opened this issue 2 years ago • 2 comments

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

blobfish avatar Jan 23 '23 02:01 blobfish

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.

sago007 avatar Jan 23 '23 22:01 sago007

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

blobfish avatar Jan 30 '23 13:01 blobfish