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,
|
RemoveSubProject,
|
||||||
AddFile,
|
AddFile,
|
||||||
RemoveFile,
|
RemoveFile,
|
||||||
DeleteFile,
|
// DeleteFile is a define on windows...
|
||||||
|
EraseFile,
|
||||||
Rename
|
Rename
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -696,7 +696,7 @@ QList<ProjectNode::ProjectAction> Qt4PriFileNode::supportedActions(Node *node) c
|
|||||||
case LibraryTemplate:
|
case LibraryTemplate:
|
||||||
actions << AddFile;
|
actions << AddFile;
|
||||||
if (m_recursiveEnumerateFiles.contains(node->path()))
|
if (m_recursiveEnumerateFiles.contains(node->path()))
|
||||||
actions << DeleteFile;
|
actions << EraseFile;
|
||||||
else
|
else
|
||||||
actions << RemoveFile;
|
actions << RemoveFile;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user