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:
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;
......
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