Commit 3ccc079c authored by dt's avatar dt
Browse files

Compile on Windows

Some windows header have a define for DeleteFile.
parent 495c3f52
...@@ -161,7 +161,8 @@ public: ...@@ -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 ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment