forked from qt-creator/qt-creator
Compile on Windows
Some windows header have a define for DeleteFile.
This commit is contained in:
@@ -161,7 +161,8 @@ public:
|
||||
RemoveSubProject,
|
||||
AddFile,
|
||||
RemoveFile,
|
||||
DeleteFile,
|
||||
// DeleteFile is a define on windows...
|
||||
EraseFile,
|
||||
Rename
|
||||
};
|
||||
|
||||
|
||||
@@ -696,7 +696,7 @@ QList<ProjectNode::ProjectAction> Qt4PriFileNode::supportedActions(Node *node) c
|
||||
case LibraryTemplate:
|
||||
actions << AddFile;
|
||||
if (m_recursiveEnumerateFiles.contains(node->path()))
|
||||
actions << DeleteFile;
|
||||
actions << EraseFile;
|
||||
else
|
||||
actions << RemoveFile;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user