OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c74b7
)
Don't remove directories that were added multiple times
author
dt
<qtc-committer@nokia.com>
Mon, 7 Jun 2010 15:22:16 +0000
(17:22 +0200)
committer
dt
<qtc-committer@nokia.com>
Tue, 8 Jun 2010 13:23:58 +0000
(15:23 +0200)
src/plugins/projectexplorer/gnumakeparser.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/projectexplorer/gnumakeparser.cpp
b/src/plugins/projectexplorer/gnumakeparser.cpp
index
92025f3
..
62fe2b1
100644
(file)
--- a/
src/plugins/projectexplorer/gnumakeparser.cpp
+++ b/
src/plugins/projectexplorer/gnumakeparser.cpp
@@
-110,14
+110,14
@@
void GnuMakeParser::stdError(const QString &line)
void GnuMakeParser::addDirectory(const QString &dir)
{
- if (dir.isEmpty()
|| m_directories.contains(dir)
)
+ if (dir.isEmpty())
return;
m_directories.append(dir);
}
void GnuMakeParser::removeDirectory(const QString &dir)
{
- m_directories.remove
All
(dir);
+ m_directories.remove
One
(dir);
}
void GnuMakeParser::taskAdded(const Task &task)