Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
4 additions
and
2 deletions.
-
+3
−1
python/core/qgsfileutils.sip.in
-
+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 ); |
|
|
}; |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.