diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-11-06 17:02:56 +0300 |
---|---|---|
committer | Olivier Goffart <olivier@woboq.com> | 2018-11-15 09:26:44 +0300 |
commit | eef3e9086af8049669fb4b396185e05b5c5c30c9 (patch) | |
tree | 72112d785aaf1b22b10d07183a243b8f9c1d49b6 /src/csync/csync_exclude.h | |
parent | f92cfdb3a321d6e391e079c44523466dc3b99e1d (diff) |
Exclude: do everything with QString wiuthout converting to char*
Diffstat (limited to 'src/csync/csync_exclude.h')
-rw-r--r-- | src/csync/csync_exclude.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csync/csync_exclude.h b/src/csync/csync_exclude.h index 4dc0d1094..a8f7b4bd0 100644 --- a/src/csync/csync_exclude.h +++ b/src/csync/csync_exclude.h @@ -136,7 +136,7 @@ public: * Note that this only matches patterns. It does not check whether the file * or directory pointed to is hidden (or whether it even exists). */ - CSYNC_EXCLUDE_TYPE traversalPatternMatch(const char *path, ItemType filetype) const; + CSYNC_EXCLUDE_TYPE traversalPatternMatch(const QString &path, ItemType filetype) const; public slots: /** @@ -170,7 +170,7 @@ private: * Note that this only matches patterns. It does not check whether the file * or directory pointed to is hidden (or whether it even exists). */ - CSYNC_EXCLUDE_TYPE fullPatternMatch(const char *path, ItemType filetype) const; + CSYNC_EXCLUDE_TYPE fullPatternMatch(const QString &path, ItemType filetype) const; /** * Generate optimized regular expressions for the exclude patterns. |