Default QFileDialog to "This PC" or "My Computer"
I'm running this command in Qt:
What string do I use to get it to default to "This PC" or "My Computer" instead of "."?
Edit:
I found the GUID for "This PC" ("::{20d04fe0-3aea-1069-a2d8-08002b30309d}"), but it seems to go to the last place I open something instead of "This PC".
Re: Default QFileDialog to "This PC" or "My Computer"
You can use QStandardPaths to look up a range of actual directory locations like Documents or Desktop. I do not know a way to have the non-location "My Computer" selected in the native dialog.