ngraham created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY This speculative commit will populate UDS_CREATION_TIME if the Linux Kernel and QT version support it, following changes to do the same in FreeBSD and OpenBSD earlier this year <https://phabricator.kde.org/D5138>. The minimum Linux kernel version is 4.11, which includes the statx() system call that reports file creation time. Support has already been added to QFile <https://github.com/qt/qtbase/commit/d3393ce25833c0afd7f0fa6b85fd6f3bd7ad520a>, but this hasn't made it into any released QT versions yet. This commit should populate UDS_CREATION_TIME if the above two conditions are met, which will have the effect of causing DOlphin to display file creation time (support for this was already added earlier <https://phabricator.kde.org/D6243>) TEST PLAN Tested these changes with Dolphin in KDE Neon, and there were no regressions. File creation date was not displayed (as expected, due to lack of a released QT version that supports this), but nothing broke. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D7423 AFFECTED FILES src/ioslaves/file/file.cpp To: ngraham, dfaure, broulik, elvisangelaccio Cc: #frameworks