forked from qt-creator/qt-creator
Enable 'Remove file...' on Generic project
Merge-request: 783 Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
This commit is contained in:
committed by
Thorbjørn Lindeijer
parent
a39d7e8d12
commit
b170e3ba87
@@ -167,7 +167,8 @@ bool GenericProjectNode::hasTargets() const
|
||||
QList<ProjectExplorer::ProjectNode::ProjectAction> GenericProjectNode::supportedActions() const
|
||||
{
|
||||
return QList<ProjectAction>()
|
||||
<< AddFile;
|
||||
<< AddFile
|
||||
<< RemoveFile;
|
||||
}
|
||||
|
||||
bool GenericProjectNode::addSubProjects(const QStringList &proFilePaths)
|
||||
@@ -195,9 +196,9 @@ bool GenericProjectNode::removeFiles(const ProjectExplorer::FileType fileType,
|
||||
const QStringList &filePaths, QStringList *notRemoved)
|
||||
{
|
||||
Q_UNUSED(fileType);
|
||||
Q_UNUSED(filePaths);
|
||||
Q_UNUSED(notRemoved);
|
||||
return false;
|
||||
|
||||
return m_project->removeFiles(filePaths);
|
||||
}
|
||||
|
||||
bool GenericProjectNode::renameFile(const ProjectExplorer::FileType fileType,
|
||||
|
||||
Reference in New Issue
Block a user