Skip to content
Permalink
Browse files

Docs++

[ci-skip]
  • Loading branch information
nyalldawson committed Mar 5, 2018
1 parent 84cdd60 commit d79221f1a24d9d11213e9b27918a81bc7914b6b4
Showing with 4 additions and 2 deletions.
  1. +3 −1 python/core/qgsfileutils.sip.in
  2. +1 −1 src/core/qgsfileutils.h
@@ -72,7 +72,9 @@ will be returned unchanged.
Converts a ``string`` to a safe filename, replacing characters which are not safe
for filenames with an '_' character.

This method should be called with file names only, not complete paths.
.. warning::

This method strips slashes from the filename, so it is safe to call with file names only, not complete paths.
%End
};

@@ -75,7 +75,7 @@ class CORE_EXPORT QgsFileUtils
* Converts a \a string to a safe filename, replacing characters which are not safe
* for filenames with an '_' character.
*
* This method should be called with file names only, not complete paths.
* \warning This method strips slashes from the filename, so it is safe to call with file names only, not complete paths.
*/
static QString stringToSafeFilename( const QString &string );
};

0 comments on commit d79221f

Please sign in to comment.
You can’t perform that action at this time.