diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-09-17 10:12:00 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-09-17 13:05:33 +0000 |
commit | c5f7de0a99246d6c21c41613b5d2c1305cf9a985 (patch) | |
tree | 21489eb453a0b6221e39613b3737e0d7c271678c /src/plugins/python/pythonproject.cpp | |
parent | dff7e1515ae752bd372d6e99c45b9ff9e0cd9af3 (diff) | |
download | qt-creator-c5f7de0a99246d6c21c41613b5d2c1305cf9a985.tar.gz |
Python: Remove unused function
Change-Id: If464646dfad66a1afabb9b5b9c6366a35597f370
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
-rw-r--r-- | src/plugins/python/pythonproject.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index 136ada7bb8..c38394a0be 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -289,16 +289,6 @@ bool PythonProject::removeFiles(const QStringList &filePaths) return saveRawFileList(newList); } -bool PythonProject::setFiles(const QStringList &filePaths) -{ - QStringList newList; - const QDir baseDir(projectDirectory().toString()); - for (const QString &filePath : filePaths) - newList.append(baseDir.relativeFilePath(filePath)); - - return saveRawFileList(newList); -} - bool PythonProject::renameFile(const QString &filePath, const QString &newFilePath) { QStringList newList = m_rawFileList; |