Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
3ccc079c
Commit
3ccc079c
authored
Aug 11, 2010
by
dt
Browse files
Compile on Windows
Some windows header have a define for DeleteFile.
parent
495c3f52
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectnodes.h
View file @
3ccc079c
...
...
@@ -161,7 +161,8 @@ public:
RemoveSubProject
,
AddFile
,
RemoveFile
,
DeleteFile
,
// DeleteFile is a define on windows...
EraseFile
,
Rename
};
...
...
src/plugins/qt4projectmanager/qt4nodes.cpp
View file @
3ccc079c
...
...
@@ -696,7 +696,7 @@ QList<ProjectNode::ProjectAction> Qt4PriFileNode::supportedActions(Node *node) c
case
LibraryTemplate
:
actions
<<
AddFile
;
if
(
m_recursiveEnumerateFiles
.
contains
(
node
->
path
()))
actions
<<
Delet
eFile
;
actions
<<
Eras
eFile
;
else
actions
<<
RemoveFile
;
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment