Utils: Give a hint on what to do with FilePath::toString()

Change-Id: I3ffad537d7ca91ef038a72363848e623e6d469e6
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2025-01-10 17:42:47 +01:00
parent dd4433a1ff
commit 2b8bd19477

View File

@@ -315,7 +315,9 @@ public:
// FIXME: Avoid. See toSettings, toVariant, toUserOutput, toFSPathString, path, nativePath.
QString toUrlishString() const;
[[deprecated]] QString toString() const { return toUrlishString(); }
[[deprecated("Check the documentation for toUrlishString() and choose a better replacement.")]]
QString toString() const { return toUrlishString(); }
bool equalsCaseSensitive(const FilePath &other) const;