ngraham added a comment.

  In D11768#236365 <https://phabricator.kde.org/D11768#236365>, @fabiank wrote:
  
  > In D11768#236349 <https://phabricator.kde.org/D11768#236349>, @ngraham 
wrote:
  >
  > > In Neon and Kubuntu, ~/Desktop exists for a new user by default. Is this 
not the case in other distros?
  >
  >
  > I'm not sure what is currently done, but I'm pretty sure in Chakra we used 
to create localized versions (and I think even Ubuntu did that), so instead of 
~/Desktop,  a German user would have ~/Schreibtisch. There's actually an xdg 
standard for this, https://www.freedesktop.org/wiki/Software/xdg-user-dirs. 
~~Afaik, Qt supports this with QStandardPaths, e.g. 
QStandardPaths::DesktopLocation.~~ Actually, scratch that, it doesn't support 
xdg-user-dirs, and returns a generic value.
  
  
  This patch uses `QStandardPaths::DesktopLocation()`, so that case is handled. 
In discussions here, I was just referring to "~/Desktop" as a placeholder for 
the appropriate location.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D11768

To: ngraham, #dolphin, #gwenview, #frameworks, #vdg
Cc: fabiank, progwolff, broulik, michaelh, ngraham

Reply via email to