OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
C++: Normalize line ending for preprocessing
[qt-creator-jp/qt-creator-jp.git]
/
src
/
plugins
/
cpptools
/
cppmodelmanager.cpp
diff --git
a/src/plugins/cpptools/cppmodelmanager.cpp
b/src/plugins/cpptools/cppmodelmanager.cpp
index
6856bc1
..
274d3e2
100644
(file)
--- a/
src/plugins/cpptools/cppmodelmanager.cpp
+++ b/
src/plugins/cpptools/cppmodelmanager.cpp
@@
-332,7
+332,7
@@
bool CppPreprocessor::includeFile(const QString &absoluteFilePath, QString *resu
return false;
QFile file(absoluteFilePath);
- if (file.open(QFile::ReadOnly)) {
+ if (file.open(QFile::ReadOnly
| QFile::Text
)) {
m_included.insert(absoluteFilePath);
QTextStream stream(&file);
const QString contents = stream.readAll();