[Konsole-devel] Review Request 125716: Use QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) instead of QDir::tempPath()

Kurt Hindenburg kurt.hindenburg at gmail.com
Tue Oct 20 14:29:13 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125716/#review87143
-----------------------------------------------------------


I'll have to look at this more

Returns a directory location where runtime communication files should be written, like Unix local sockets. This is a generic value. The returned path may be empty on some systems.


"/run/user/<USER>", "~/Library/Application Support",	"C:/Users/<USER>"

- Kurt Hindenburg


On Oct. 20, 2015, 4:21 a.m., Xuetian Weng wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125716/
> -----------------------------------------------------------
> 
> (Updated Oct. 20, 2015, 4:21 a.m.)
> 
> 
> Review request for Konsole and Kurt Hindenburg.
> 
> 
> Repository: konsole
> 
> 
> Description
> -------
> 
> QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) can make use of XDG_RUNTIME_DIR, which is a more restricted place that only visible to current user.
> 
> 
> Diffs
> -----
> 
>   src/History.cpp d00b95a 
>   src/settings/FileLocationSettings.cpp aab62c2 
> 
> Diff: https://git.reviewboard.kde.org/r/125716/diff/
> 
> 
> Testing
> -------
> 
> XDG_RUNTIME_DIR is now being used.
> 
> 
> Thanks,
> 
> Xuetian Weng
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20151020/8e388153/attachment.html>


More information about the konsole-devel mailing list