Python: Remove unused function

Change-Id: If464646dfad66a1afabb9b5b9c6366a35597f370
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-09-17 10:12:00 +02:00
parent dff7e1515a
commit c5f7de0a99
2 changed files with 0 additions and 11 deletions

View File

@@ -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;

View File

@@ -42,7 +42,6 @@ public:
bool addFiles(const QStringList &filePaths);
bool removeFiles(const QStringList &filePaths);
bool setFiles(const QStringList &filePaths);
bool renameFile(const QString &filePath, const QString &newFilePath);
void refresh(ProjectExplorer::Target *target = nullptr);