forked from qt-creator/qt-creator
Python: Remove unused function
Change-Id: If464646dfad66a1afabb9b5b9c6366a35597f370 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -289,16 +289,6 @@ bool PythonProject::removeFiles(const QStringList &filePaths)
|
|||||||
return saveRawFileList(newList);
|
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)
|
bool PythonProject::renameFile(const QString &filePath, const QString &newFilePath)
|
||||||
{
|
{
|
||||||
QStringList newList = m_rawFileList;
|
QStringList newList = m_rawFileList;
|
||||||
|
@@ -42,7 +42,6 @@ public:
|
|||||||
|
|
||||||
bool addFiles(const QStringList &filePaths);
|
bool addFiles(const QStringList &filePaths);
|
||||||
bool removeFiles(const QStringList &filePaths);
|
bool removeFiles(const QStringList &filePaths);
|
||||||
bool setFiles(const QStringList &filePaths);
|
|
||||||
bool renameFile(const QString &filePath, const QString &newFilePath);
|
bool renameFile(const QString &filePath, const QString &newFilePath);
|
||||||
void refresh(ProjectExplorer::Target *target = nullptr);
|
void refresh(ProjectExplorer::Target *target = nullptr);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user